From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sergio Pokrovskij Newsgroups: gmane.emacs.help Subject: Re: Getting Emacs to play nice with Hunspell and apostrophes Date: Sun, 15 Jun 2014 09:48:05 +0700 Organization: A noiseless patient Spider Message-ID: <87d2eavqfu.fsf@none.nowhere.invalid> References: <87ha3s71mt.fsf@debian.uxu> <87tx7rsevi.fsf@debian.uxu> <8738fbscao.fsf@debian.uxu> <8738f8w988.fsf@debian.uxu> 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 1402809702 20354 80.91.229.3 (15 Jun 2014 05:21:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Jun 2014 05:21:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 15 07:21:36 2014 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 1Ww2so-0005T5-US for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Jun 2014 07:21:35 +0200 Original-Received: from localhost ([::1]:37638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ww2so-0003gZ-34 for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Jun 2014 01:21:34 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Injection-Info: mx05.eternal-september.org; posting-host="89c2698d4d0674f5df13ab81bc3ee755"; logging-data="25351"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19f399TX9IDIgFCs73JwSEN" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:SmzcAVe1m+iKjIMMreVoX0p0a1s= sha1:cuORBlp4mxxLDtOhPMzaeEGK2dQ= Original-Xref: usenet.stanford.edu gnu.emacs.help:206003 X-Mailman-Approved-At: Sun, 15 Jun 2014 01:21:25 -0400 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:98274 Archived-At: I can't tell you how much I dislike the ugly quotes in Emacs Info, e.g. ╭──── │ `C-c C-a (`org-attach')' │ The dispatcher for commands related to the attachment system. ╰──── I always use paired quotes, but normally I use the ASCII apostrophe. I admit this causes problems for the speller with e.g. the Wikipedia convention about its representation of ''italics'', '''bold face''' etc. >>>>> "Yuri" == Yuri Khan skribis: [...] Yuri> Now let me tell you how I do curly quotes. Yuri> First, with my right thumb, I hold the AltGr Yuri> modifier. Then, I press k and l in sequence to get a Yuri> balanced pair of double curly quotes, or ; and ' for Yuri> single quotes (I customized my xkb configuration files to Yuri> get this but it works similarly with the out-of-the-box Yuri> config). In Emacs I use (on both Linux and MS Windows): C-c 6 to produce the English 66-99 pair “_” C-c 9 to produce the German 99-66 pair „_“ C-c " to produce the French angular pair «_» The point gets positioned in between: --8<---------------cut here---------------start------------->8--- (defun insert-66-99 () "Make a pair of 66-99 quotes and be positioned to type inside." (interactive) (insert "“”") (backward-char)) (global-set-key "\C-c6" 'insert-66-99) --8<---------------cut here---------------end--------------->8--- -- Sergio