* codepage-setup NOERROR
@ 2007-10-29 23:26 jidanni
2007-10-30 22:59 ` Jason Rumney
0 siblings, 1 reply; 2+ messages in thread
From: jidanni @ 2007-10-29 23:26 UTC (permalink / raw)
To: bug-gnu-emacs
Some systems don't have all the codepages, so for one's .emacs file to
be portable, codepage-setup needs to have a NOERROR parameter, just
like (require).
Debugger entered--Lisp error: (error "Unsupported codepage cp874")
signal(error ("Unsupported codepage cp874"))
error("Unsupported codepage %s" "cp874")
cp-charset-for-codepage("cp874")
codepage-setup(874)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: codepage-setup NOERROR
2007-10-29 23:26 codepage-setup NOERROR jidanni
@ 2007-10-30 22:59 ` Jason Rumney
0 siblings, 0 replies; 2+ messages in thread
From: Jason Rumney @ 2007-10-30 22:59 UTC (permalink / raw)
To: jidanni; +Cc: bug-gnu-emacs
jidanni@jidanni.org wrote:
> Some systems don't have all the codepages, so for one's .emacs file to
> be portable, codepage-setup needs to have a NOERROR parameter, just
> like (require).
>
We can't add a NOERROR parameter to everything just because someone
might want to pass invalid parameters to it from their .emacs file.
Use condition-case if you need to share a .emacs between different
versions of Emacs that don't support all the codepages you want to use.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-30 22:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29 23:26 codepage-setup NOERROR jidanni
2007-10-30 22:59 ` Jason Rumney
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.