From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: M-: (org-display-outline-path) doesn't work correctly Date: Wed, 12 Mar 2014 17:53:50 +0100 Message-ID: <87eh27qrxd.fsf@gmail.com> References: <8738inscnt.fsf@gmail.com> <87zjkvxxnb.fsf@bzg.ath.cx> <87siqnquyh.fsf@gmail.com> <87d2hrwg3m.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNmOr-0003Gu-2E for emacs-orgmode@gnu.org; Wed, 12 Mar 2014 12:53:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNmOl-00030P-54 for emacs-orgmode@gnu.org; Wed, 12 Mar 2014 12:53:01 -0400 Received: from plane.gmane.org ([80.91.229.3]:47412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNmOk-000305-V2 for emacs-orgmode@gnu.org; Wed, 12 Mar 2014 12:52:55 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WNmOj-00078H-QD for emacs-orgmode@gnu.org; Wed, 12 Mar 2014 17:52:53 +0100 Received: from e178190177.adsl.alicedsl.de ([85.178.190.177]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Mar 2014 17:52:53 +0100 Received: from tjolitz by e178190177.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Mar 2014 17:52:53 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien writes: > Thorsten Jolitz writes: > >> both print this in the message buffer >> >> ,-------------------------------------- >> | byte-code: End of buffer >> | #("1st level" 0 9 (face org-level-1)) >> `-------------------------------------- >> >> while using M-x shows the string "1st Level" as expected. > > There is no problem here. > > #("1st level" 0 9 (face org-level-1)) > > is just the internal representation of a fontified string. I know, but... > Or am I missing something? can you write a function (not a command) that calls this function, and you see in the minibuffer what you expect? #+begin_src emacs-lisp (defun callOrgDisplay () (call-interactively 'org-display-outline-path)) #+end_src #+results: : callOrgDisplay #+begin_src org * 1st Level ** 2nd Level #+end_src ,--------------------- | M-: (callOrgDisplay) `--------------------- with point on the second level headline shows that internal string representation. Only if I make `callOrgDisplay' itself a command by adding (interactive) and call it with M-x, the string without properties is shown. -- cheers, Thorsten