all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Info-copy-current-node-name readability
@ 2007-11-03 21:36 Thien-Thi Nguyen
  2007-11-04  1:47 ` Luc Teirlinck
  2007-11-04  1:54 ` Luc Teirlinck
  0 siblings, 2 replies; 7+ messages in thread
From: Thien-Thi Nguyen @ 2007-11-03 21:36 UTC (permalink / raw)
  To: emacs-devel

any objections to this small change to add a space
between the filename and nodename?  

 before -- "(elisp)Documentation Tips"
  after -- "(elisp) Documentation Tips"

seems to me more readable this way.

thi


__________________________________________________________
*** info.el	28 Aug 2007 10:15:23 -0000	1.505
--- info.el	3 Nov 2007 21:29:46 -0000
***************
*** 3353,3359 ****
    (unless Info-current-node
      (error "No current Info node"))
    (let ((node (if (stringp Info-current-file)
! 		  (concat "(" (file-name-nondirectory Info-current-file) ")"
  			  Info-current-node))))
      (if (zerop (prefix-numeric-value arg))
          (setq node (concat "(info \"" node "\")")))
--- 3353,3359 ----
    (unless Info-current-node
      (error "No current Info node"))
    (let ((node (if (stringp Info-current-file)
! 		  (concat "(" (file-name-nondirectory Info-current-file) ") "
  			  Info-current-node))))
      (if (zerop (prefix-numeric-value arg))
          (setq node (concat "(info \"" node "\")")))

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Info-copy-current-node-name readability
  2007-11-03 21:36 Info-copy-current-node-name readability Thien-Thi Nguyen
@ 2007-11-04  1:47 ` Luc Teirlinck
  2007-11-04  1:56   ` Lennart Borgman (gmail)
  2007-11-04  3:58   ` Eli Zaretskii
  2007-11-04  1:54 ` Luc Teirlinck
  1 sibling, 2 replies; 7+ messages in thread
From: Luc Teirlinck @ 2007-11-04  1:47 UTC (permalink / raw)
  To: ttn; +Cc: emacs-devel

Thien-Thi Nguyen wrote:

   any objections to this small change to add a space
   between the filename and nodename?  

    before -- "(elisp)Documentation Tips"
     after -- "(elisp) Documentation Tips"

   seems to me more readable this way.

Yes.  This is about copying and pasting, not about readability.

Sincerely,

Luc Teirlinck.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Info-copy-current-node-name readability
  2007-11-03 21:36 Info-copy-current-node-name readability Thien-Thi Nguyen
  2007-11-04  1:47 ` Luc Teirlinck
@ 2007-11-04  1:54 ` Luc Teirlinck
  1 sibling, 0 replies; 7+ messages in thread
From: Luc Teirlinck @ 2007-11-04  1:54 UTC (permalink / raw)
  To: ttn; +Cc: emacs-devel

From my previous reply:

      any objections to this small change to add a space
      between the filename and nodename?  

       before -- "(elisp)Documentation Tips"
	after -- "(elisp) Documentation Tips"

      seems to me more readable this way.

   Yes.  This is about copying and pasting, not about readability.

To avoid confusion:

The "Yes" was an anwer to the first question, so means: "yes, there are
objections".

Sincerely,

Luc Teirlinck.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Info-copy-current-node-name readability
  2007-11-04  1:47 ` Luc Teirlinck
@ 2007-11-04  1:56   ` Lennart Borgman (gmail)
  2007-11-04  3:58   ` Eli Zaretskii
  1 sibling, 0 replies; 7+ messages in thread
From: Lennart Borgman (gmail) @ 2007-11-04  1:56 UTC (permalink / raw)
  To: Luc Teirlinck; +Cc: ttn, emacs-devel

Luc Teirlinck wrote:
> Thien-Thi Nguyen wrote:
> 
>    any objections to this small change to add a space
>    between the filename and nodename?  
> 
>     before -- "(elisp)Documentation Tips"
>      after -- "(elisp) Documentation Tips"
> 
>    seems to me more readable this way.
> 
> Yes.  This is about copying and pasting, not about readability.


But both format works with info, try:

   (info "(elisp) Documentation Type")

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Info-copy-current-node-name readability
  2007-11-04  1:47 ` Luc Teirlinck
  2007-11-04  1:56   ` Lennart Borgman (gmail)
@ 2007-11-04  3:58   ` Eli Zaretskii
  2007-11-06  0:46     ` Juri Linkov
  1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2007-11-04  3:58 UTC (permalink / raw)
  To: Luc Teirlinck; +Cc: ttn, emacs-devel

> Date: Sat, 3 Nov 2007 20:47:58 -0500 (CDT)
> From: Luc Teirlinck <teirllm@dms.auburn.edu>
> Cc: emacs-devel@gnu.org
> 
> Thien-Thi Nguyen wrote:
> 
>    any objections to this small change to add a space
>    between the filename and nodename?  
> 
>     before -- "(elisp)Documentation Tips"
>      after -- "(elisp) Documentation Tips"
> 
>    seems to me more readable this way.
> 
> Yes.  This is about copying and pasting, not about readability.

I think ttm was talking about readability of the text into which you
paste the reference to the Info node.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Info-copy-current-node-name readability
  2007-11-04  3:58   ` Eli Zaretskii
@ 2007-11-06  0:46     ` Juri Linkov
  2007-11-06  0:58       ` Miles Bader
  0 siblings, 1 reply; 7+ messages in thread
From: Juri Linkov @ 2007-11-06  0:46 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: teirllm, ttn, emacs-devel

>>    any objections to this small change to add a space
>>    between the filename and nodename?
>>
>>     before -- "(elisp)Documentation Tips"
>>      after -- "(elisp) Documentation Tips"
>>
>>    seems to me more readable this way.
>>
>> Yes.  This is about copying and pasting, not about readability.
>
> I think ttm was talking about readability of the text into which you
> paste the reference to the Info node.

It seems one reason to use this format in the text with Info references is
because the node name is already displayed with a space in the mode-line,
e.g.:

--:%%-  *info* (elisp) Documentation Tips    Top (1,0)    (Info Narrow)---
                      ^
                  space

So this format will be the same in the mode-line and in text references.

--
Juri Linkov
http://www.jurta.org/emacs/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Info-copy-current-node-name readability
  2007-11-06  0:46     ` Juri Linkov
@ 2007-11-06  0:58       ` Miles Bader
  0 siblings, 0 replies; 7+ messages in thread
From: Miles Bader @ 2007-11-06  0:58 UTC (permalink / raw)
  To: Juri Linkov; +Cc: Eli Zaretskii, teirllm, ttn, emacs-devel

I dunno, I dislike the space because the no-space version looks more
like a parseable  name.  The with-space version looks more like
something someone typed in for human consumption.  So I think the lack
of space is a useful reminder to newbies.

-Miles

-- 
We are all lying in the gutter, but some of us are looking at the stars.
-Oscar Wilde

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-11-06  0:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-03 21:36 Info-copy-current-node-name readability Thien-Thi Nguyen
2007-11-04  1:47 ` Luc Teirlinck
2007-11-04  1:56   ` Lennart Borgman (gmail)
2007-11-04  3:58   ` Eli Zaretskii
2007-11-06  0:46     ` Juri Linkov
2007-11-06  0:58       ` Miles Bader
2007-11-04  1:54 ` Luc Teirlinck

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.