From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Pattern for spell-checking in po-files.
Date: Fri, 23 May 2003 18:30:22 -0400 [thread overview]
Message-ID: <200305232230.h4NMUMIr000744@rum.cs.yale.edu> (raw)
In-Reply-To: 16078.38915.165093.791379@uebn.uddeborg.pp.se
> (defun po-ispell ()
> (interactive)
> (let ((buffer-read-only nil))
> (ispell)))
I'd recommend binding inhibit-read-only instead.
> That could be a good idea, and then binding it to some key. But that
> should be done in po-mode.el rather than ispell.el.
Doesn't it make more sense to keep this ispell support in po-mode.el ?
Perhaps ispell.el should provide something like an `ispell-function'
(an easy way for a major mode to replace the "normal" ispell by his own
variant such as the one above that temporarily makes the buffer writable) ?
This way po-mode.el could set ispell-function and all the ispell stuff
would just work.
Stefan
next prev parent reply other threads:[~2003-05-23 22:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1261.1053715963@ichips.intel.com>
2003-05-23 21:08 ` [G ran Uddeborg] Pattern for spell-checking in po-files Kenny Stevens
2003-05-23 21:52 ` Göran Uddeborg
2003-05-23 22:30 ` Stefan Monnier [this message]
2003-05-23 22:46 ` Miles Bader
2003-05-25 18:01 ` Richard Stallman
2003-05-24 6:10 ` Karl Eichwalder
2003-06-21 18:44 ` [Translation-i18n] " Dwayne Bailey
2003-06-23 14:39 ` Göran Uddeborg
2003-06-24 5:30 ` Karl Eichwalder
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=200305232230.h4NMUMIr000744@rum.cs.yale.edu \
--to=monnier+gnu/emacs@rum.cs.yale.edu \
--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).