unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Martin Pohlack <mp26@os.inf.tu-dresden.de>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Fwd: Patch for sgml-mode.el
Date: Fri, 23 Nov 2007 11:26:12 -0500	[thread overview]
Message-ID: <jwvve7t53pn.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4746F119.2090504@os.inf.tu-dresden.de> (Martin Pohlack's message of "Fri, 23 Nov 2007 16:26:17 +0100")

> Third, I have a buffer-switching module here locally, which relies on
> mode-name being a string.

>   http://os.inf.tu-dresden.de/~mp26/download/cycbuf.el

> Could you advice another way to get the mode-name as a string for a
> buffer apart from accessing mode-name?  Maybe this could be documented?

Try (format-mode-line mode-name)


        Stefan

  reply	other threads:[~2007-11-23 16:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-23  4:36 [mp26@os.inf.tu-dresden.de: Patch for sgml-mode.el] Richard Stallman
2007-11-23 15:02 ` Fwd: Patch for sgml-mode.el Stefan Monnier
2007-11-23 15:26   ` Martin Pohlack
2007-11-23 16:26     ` Stefan Monnier [this message]
2007-11-23 19:55   ` Glenn Morris
2007-11-30  4:46     ` Stefan Monnier
2007-11-30 20:58       ` Glenn Morris
2007-12-01  3:16         ` Stefan Monnier
2007-12-02 21:59           ` Glenn Morris
2007-12-01  4:07         ` Stefan Monnier

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=jwvve7t53pn.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=mp26@os.inf.tu-dresden.de \
    --cc=rms@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).