unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Davis Herring <herring@lanl.gov>
To: emacs-devel@gnu.org
Subject: Re: Default language environment not calling	set-language-environment-hook?
Date: Mon, 25 Nov 2013 09:32:04 -0700	[thread overview]
Message-ID: <52937B84.8090001@lanl.gov> (raw)
In-Reply-To: <877gbxz7t2.fsf@gmail.com>

> (add-hook 'set-language-environment-hook (lambda ()
>             (message "Language environment is "            
> current-language-environment)))
> (message "Language environment is " current-language-environment)
> 
> The *Messages* buffer contains: "Language environment is ".

Not your question, but you surely want to put %s (or %S) into your
`message' format string so that the value of
`current-language-environment' is actually printed.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.



  reply	other threads:[~2013-11-25 16:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-24 23:41 Default language environment not calling set-language-environment-hook? Matthias Meulien
2013-11-25 16:32 ` Davis Herring [this message]
     [not found] ` <52937C17.3050700@lanl.gov>
2013-11-25 23:29   ` Matthias Meulien
2013-11-26  3:49     ` Eli Zaretskii
2013-11-26  9:16       ` Matthias Meulien
2013-11-26 16:30         ` Eli Zaretskii

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=52937B84.8090001@lanl.gov \
    --to=herring@lanl.gov \
    --cc=emacs-devel@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).