unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: michael@cadilhac.name (Michaël Cadilhac)
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to handle overfilled mode line?
Date: Thu, 05 Oct 2006 18:58:38 +0200	[thread overview]
Message-ID: <87hcyin1hd.fsf@lrde.org> (raw)
In-Reply-To: <87lknvzorb.fsf@baldur.nicundtas.de> (Tassilo Horn's message of "Thu\, 05 Oct 2006 00\:42\:48 +0200")


[-- Attachment #1.1: Type: text/plain, Size: 683 bytes --]

Tassilo Horn <heimdall@uni-koblenz.de> writes:

> If the buffer name is a littlebit longer, it doesn't fit on my
> screen anymore.

(setq mode-line-format '((-18 "%b")))

will print the current buffer name in the mode line, truncating it to
18 chars (for example).

Hope it helps.

-- 
/!\ My mail address changed, please update your files accordingly.
 |      Michaël `Micha' Cadilhac   |  Fenouil                               |
 |         Epita/LRDE Promo 2007   |                                        |
 |  http://michael.cadilhac.name   |    -- Poème de François Le Lionnais    |
 `--  -   JID: micha@amessage.be --'                                   -  --'

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

      parent reply	other threads:[~2006-10-05 16:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-04 22:42 How to handle overfilled mode line? Tassilo Horn
2006-10-05 15:18 ` rgb
2006-10-05 16:15 ` robert.thorpe
2006-10-05 17:15   ` Tassilo Horn
2006-10-05 18:42     ` Chris F.A. Johnson
2006-10-05 19:08       ` Tassilo Horn
2006-10-05 19:50         ` Pascal Bourguignon
2006-10-05 22:16     ` Reiner Steib
2006-10-06 12:13       ` Tassilo Horn
2006-10-06 13:39         ` Kim F. Storm
     [not found]         ` <mailman.7811.1160142023.9609.help-gnu-emacs@gnu.org>
2006-10-06 14:17           ` Tassilo Horn
2006-10-06 15:57   ` Kevin Rodgers
     [not found]   ` <mailman.7822.1160150374.9609.help-gnu-emacs@gnu.org>
2006-10-06 18:49     ` Tassilo Horn
2006-10-05 16:58 ` Michaël Cadilhac [this message]

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=87hcyin1hd.fsf@lrde.org \
    --to=michael@cadilhac.name \
    --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.
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).