From: dkcombs@panix.com (David Combs)
Subject: modeline should note file gotten-via-symlink
Date: 21 Feb 2005 18:46:25 -0500 [thread overview]
Message-ID: <cvdrsh$6ar$1@panix1.panix.com> (raw)
>From the dired for .../4msnew:
| -rw-r--r-- 1 dkc other 4509 Aug 29 18:11 run-tools--16.29.8.smd
|
| lrwxrwxrwx 1 dkc other 22 Aug 29 17:56 run-tools.smd -> run-tools--16.29.8.smd
, note that run-tools.smd is a symlink.
"Click" (hit <return>) on it, and you end up with a buffer named
run-tools.smd (the name of the symlink), the buffer's *contents* being the
pointed-to file "run-tools--16.29.8.smd".
Fine and good; nice rms-DWIM, does what I wanted.
However, the *mode-line*, which shows the name of the *symlink*,
"run-tools.smd", gives NO indication that the file I'm *actually* at (or at
least actually looking-at/into), "run-tools--16.29.8.smd", is *via a symlink*.
Would be a helpful reminder, at least for me, if the mode-line also
contained the word "SYMLINK".
(And if gotten-to via a chain of eg three symlinks, then maybe something
like "SYMLINKS3".)
QUESTION: would anyone else reading this post find helpful such a modeline additon?
QUESTION: does such a thing *already* exist? (If so, where's the most
recent version?
-------
Related idea, for "*Buffer Menu*":
| MR Buffer Size Mode File
| -- ------ ---- ---- ----
| .....
| run-tools.smd 4509 Fundamental /opt6/myexternals/home/dkc/4msnew/run-tools--16.29.8.smd
Note that the buffer's name is run-cuffs.smd, but is actually "at" the file
pointed at by the symlink -- and again, there's no explicit, "in your face"
notice that it's via a symlink.
(As far as the user can tell from the line, he originally (last week, in
this still-running emacs session) did a C-x C-f on "run-tools--16.29.8.smd",
and then did a rename-buffer to the shorter name, and there's no way to
tell.
So, again, some explicit, "in your face" notation might be helpful here too.
next reply other threads:[~2005-02-21 23:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-21 23:46 David Combs [this message]
2005-02-22 0:05 ` modeline should note file gotten-via-symlink Peter Dyballa
2005-02-22 4:45 ` Eli Zaretskii
2005-02-22 14:51 ` Stefan Monnier
2005-02-23 1:45 ` David Combs
[not found] ` <mailman.977.1109049635.32256.help-gnu-emacs@gnu.org>
2005-02-23 1:52 ` David Combs
2005-02-24 16:54 ` Kevin Rodgers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='cvdrsh$6ar$1@panix1.panix.com' \
--to=dkcombs@panix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).