all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Long file names in Dired
Date: Thu, 23 Apr 2015 18:38:15 -0600	[thread overview]
Message-ID: <20150423183207592188855@bob.proulx.com> (raw)
In-Reply-To: <87a8xyo2zj.fsf@mbork.pl>

Marcin Borkowski wrote:
> so I have some really, really long filenames (say, more than 70
> characters), and I'd like to shorten them so they don't spill to the
> next line in Dired.  I can toggle-truncate-lines, of course,

That was the first thing I thought of too.

> but then I don't see the extension, and I'd prefer to truncate the
> part /before/ the extension.

Explain more?  The file extension isn't special to toggle-truncate-lines.

> Is there any Dired hack enabling this?

Have you used C-x < and C-x > scroll-left and scroll-right from the
horizontal scrolling section?

  https://www.gnu.org/software/emacs/manual/html_node/emacs/Horizontal-Scrolling.html

Then scroll so that the extensions are visible?  As long as the
beginning of the file name is in the visible window then everything
works okay for me.  Does that work for you?

Bob



  reply	other threads:[~2015-04-24  0:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-23 23:10 Long file names in Dired Marcin Borkowski
2015-04-24  0:38 ` Bob Proulx [this message]
2015-04-24  6:29 ` Eli Zaretskii
     [not found] <mailman.1494.1429830642.904.help-gnu-emacs@gnu.org>
2015-04-24  1:26 ` Emanuel Berg
2015-04-24  9:01   ` Marcin Borkowski
2015-04-24  9:12     ` Rasmus
2015-04-24  9:37       ` Marcin Borkowski
2015-04-24 10:19         ` Rasmus
2015-04-24 21:02           ` Marcin Borkowski
2015-04-24 21:10             ` Marcin Borkowski
     [not found]   ` <mailman.1511.1429866115.904.help-gnu-emacs@gnu.org>
2015-04-25  1:29     ` Emanuel Berg
2015-04-25  8:18       ` Marcin Borkowski
     [not found]       ` <mailman.1581.1429950075.904.help-gnu-emacs@gnu.org>
2015-04-25 11:20         ` Emanuel Berg
2015-05-03 22:59           ` Marcin Borkowski
     [not found]           ` <mailman.2273.1430694000.904.help-gnu-emacs@gnu.org>
2015-05-04  0:22             ` Emanuel Berg
2015-05-04  0:41               ` Emanuel Berg

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150423183207592188855@bob.proulx.com \
    --to=bob@proulx.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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.