help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quote Selection Do What I Mean (DWIM)


From: Nordlöw
Subject: Re: Quote Selection Do What I Mean (DWIM)
Date: Fri, 23 Oct 2009 07:55:16 -0700 (PDT)
User-agent: G2/1.0

On Oct 23, 4:19 pm, p...@informatimago.com (Pascal J. Bourguignon)
wrote:
> Nordlöw <per.nord...@gmail.com> writes:
> > If transient-mark-mode is activate it would be nice to have some
> > clever major-mode-sensitive auto-insertion of single quotes and
> > backquotes.
>
> > in emacs-lisp-mode we want the following mappings
> > - ' => `symbol' in comment-syntax
> > - ' => 'symbol in code-syntax (no change
> > - " => "string" everywhere
>
> > Does emacs have a suitable before/after/replace hook related to self-
> > insert-command that can be used to realize this behaviour?
>
> > Suitable function name could be quote-dwim().
>
> > Has anybody already done this? Reflections...
>
> In paredit, " behaves differently in code-syntax than in comment-syntax.
> ' behave the same everywhere.
>
> You could easily propose a patch to paredit to add the wanted behavior for '.
>
> --
> __Pascal Bourguignon__

I can't find the email related to the author paredit.el. Where should
I file the request for inclusion in paredit.el?

/Nordlöw


reply via email to

[Prev in Thread] Current Thread [Next in Thread]