[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
prexix argument of Info-copy-current-node-name
From: |
Reiner Steib |
Subject: |
prexix argument of Info-copy-current-node-name |
Date: |
Wed, 25 Oct 2006 18:06:41 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Hi,
`Info-copy-current-node-name' requires a _zero_ prefix argument to
copy the strings like ``(info "(emacs)Top")'' into the kill ring:
,----[ <f1> f Info-copy-current-node-name RET ]
| Info-copy-current-node-name is an interactive compiled Lisp function
| in `info'. (Info-copy-current-node-name &optional ARG)
|
| Put the name of the current Info node into the kill ring.
| The name of the Info file is prepended to the node name in parentheses.
| With a zero prefix arg, put the name inside a function call to `info'.
`----
>From Juri's suggestion on emacs-devel [1] I understand that `M-0 w'
(or `C-u 0 w') was because of the analogy to
`dired-copy-filename-as-kill' [2]. But wouldn't it make more sense to
allow _any_ prefix argument in `Info-copy-current-node-name'?
Bye, Reiner.
[1] http://thread.gmane.org/gmane.emacs.devel/23888/
[2]
,----[ <f1> f dired-copy-filename-as-kill RET ]
| dired-copy-filename-as-kill is an interactive compiled Lisp function
| in `dired'. (dired-copy-filename-as-kill &optional ARG)
|
| Copy names of marked (or next ARG) files into the kill ring.
| The names are separated by a space.
| With a zero prefix arg, use the absolute file name of each marked file.
| With C-u, use the file name relative to the dired buffer's
| `default-directory'. [...]
`----
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
- prexix argument of Info-copy-current-node-name,
Reiner Steib <=