[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find-file-literally-at-point
From: |
Juri Linkov |
Subject: |
Re: find-file-literally-at-point |
Date: |
Tue, 10 Nov 2009 02:49:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) |
>>> Below is a patch that implements `ffap-literally' using
>>
>> `ffap-literally' seems like the most horrible name ever tho...
>
> There are two naming conventions in ffap.el: one where the function name
> ends with the `-at-point' suffix, and another where the function name
> begins with the `ffap-' prefix.
>
> The problem with adding the `-at-point' suffix is that it will create
> more horrible names than using the `ffap-' prefix. Currently
> the `-at-point' suffix is used only for relatively short names like
> `find-file-at-point' and `dired-at-point'. But using it for other
> names will create names like `find-file-read-only-other-window-at-point'
> (41 characters!) instead of the current `ffap-read-only-other-window'
> (27 characters).
>
> That's because the name `ffap' compresses 18 characters of
> `find-file-at-point' into 4 characters of `ffap'.
Since `ffap' is an alias of `find-file-at-point', perhaps we should
add abbreviated versions that begin with the `ffap-' prefix as
aliases of full versions with long names:
ALIAS
find-file-at-point ffap
dired-at-point ffap-dired
list-directory-at-point ffap-list-directory
find-file-read-only-at-point ffap-read-only
find-alternate-file-at-point ffap-alternate
find-file-literally-at-point ffap-literally
find-file-other-window-at-point ffap-other-window
find-file-read-only-other-window-at-point ffap-read-only-other-window
dired-other-window-at-point ffap-dired-other-window
find-alternate-file-other-window-at-point ffap-alternate-other-window
find-file-other-frame-at-point ffap-other-frame
find-file-read-only-other-frame-at-point ffap-read-only-other-frame
dired-other-frame-at-point ffap-dired-other-frame
--
Juri Linkov
http://www.jurta.org/emacs/
- M-! M-n should fetch filename (Re: FFAP), (continued)
- M-! M-n should fetch filename (Re: FFAP), Juri Linkov, 2009/11/09
- Re: M-! M-n should fetch filename (Re: FFAP), Stefan Monnier, 2009/11/09
- Re: M-! M-n should fetch filename (Re: FFAP), Juri Linkov, 2009/11/09
- Re: M-! M-n should fetch filename (Re: FFAP), Stefan Monnier, 2009/11/10
- Re: M-! M-n should fetch filename (Re: FFAP), Juri Linkov, 2009/11/10
- dired-dwim-target (was: FFAP), Juri Linkov, 2009/11/15
- dired-dwim-target-defaults (was: dired-dwim-target), Juri Linkov, 2009/11/23
Re: find-file-literally-at-point, Juri Linkov, 2009/11/08
utf-8-with-signature (was: find-file-literally-at-point), Juri Linkov, 2009/11/09
Re: find-file-literally-at-point, Eduard Wiebe, 2009/11/06