From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: .emacs poser Date: Fri, 27 Dec 2013 00:00:14 -0600 Organization: NewsGuy - Unlimited Usenet $23.95 Message-ID: References: <87haa57s44.fsf@nl106-137-194.student.uu.se> <8761ql7ds0.fsf@nl106-137-194.student.uu.se> <87bo0b1kbb.fsf@nl106-137-194.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1388124310 10776 80.91.229.3 (27 Dec 2013 06:05:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Dec 2013 06:05:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 27 07:05:17 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VwQXt-00025m-Gh for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Dec 2013 07:05:17 +0100 Original-Received: from localhost ([::1]:48038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwQXt-0007eo-13 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Dec 2013 01:05:17 -0500 X-Received: by 10.66.190.38 with SMTP id gn6mr21033575pac.30.1388124090754; Thu, 26 Dec 2013 22:01:30 -0800 (PST) Original-Path: usenet.stanford.edu!jj6no532319pbc.1!news-out.google.com!p7ni5716qat.0!nntp.google.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news6 Original-Newsgroups: gnu.emacs.help Original-Lines: 75 Original-NNTP-Posting-Host: p36692501ddac13d985ab3ee213f3f0e30aa58b25ce21b206.newsdawg.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: <87bo0b1kbb.fsf@nl106-137-194.student.uu.se> X-Received-Bytes: 3629 X-Received-Body-CRC: 763180728 Original-Xref: usenet.stanford.edu gnu.emacs.help:202896 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95165 Archived-At: Emacsers: Thanks for all the answers. After returning from a 10 day trip I thought I might get a couple of responses but there were enough that two or three of them solved the problem. There was an extra glyph (combining macron or modifier letter macron) hidden in the question mark (character declaration). I use this method just to experiment with utf-8 and usually insert most exotic characters with input methods (usually latin-postfix). I know about ucs-insert but don't want to have to look up the hexcodes. Apparently once I used C-c M for combining macron and then for Maltese cross. Usually I do C-x C-e just on the changed line to test but I must have had this bug for a long time and then just commented it out many months ago instead of digging into the problem. Thanks again. Ed > Jambunathan K writes: > >>> 0 + a = å : + a = ä : + o = ö >> >> If set your input method to >> >> latin-1-prefix >> >> you can use /a, :a, :o to input the above characters. >> >> Why is it that you want roll your own? > > In the post, I describe how it differs: > > 1. [compose] har = h [compose] ar = här > > 2. The prefix/compose char is not inserted: you only > see the letters that are part of the word. (Compare: > you could setup an abbrev to make "nasa" into > NASA. But I don't want NASA to look like "nasa", > ever.) > > 3. No visual noise in the echo area. > > Also, though a minor matter, I can set it up on a > mode-by-mode basis without having to use the poor man's > hooks. > >> Btw, I see a swedish-postfix input method. What you >> want is swedish-prefix input method. > > That was my first attempt: > > (quail-define-package "swedish-quail" "Swedish" "Swedish quail") > (quail-define-rules > ("0A" ?Å) ("0a" ?å) > (":A" ?Ä) (":a" ?ä) > (":O" ?Ö) (":o" ?ö) ) > (set-input-method 'swedish-quail) > > However (again as I said even back then) I don't like > the insertion of the prefix before it transforms, and I > don't like the visual noise in the echo area. > >> Seems like a good candidate for M-x report-emacs-bug. > > Or a good candidate for writing that *gorgeous* > Elisp. Red hair, green eyes, soft skin... > >> If you propose a patch, then you can get the prefixes >> that you yourself use. > > I think this as a patch would have had a hard time as > most people probably want the semi-colon for natural > languages. >