[Top][All Lists]

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

Re: perl-quote.el v.1

From: Ilya Zakharevich
Subject: Re: perl-quote.el v.1
Date: Sat, 06 Jun 2009 21:50:35 GMT
User-agent: slrn/ (Linux)

On 2009-06-05, Kevin Ryde <address@hidden> wrote:

>   "Convert a Perl \"\" double-quoted string to '' single-quotes.

I would find the opposite conversion more often useful...

>     __\"\"   ->  __('')
>     N__\"\"  ->  N__('')

> Parens are added for __ and N__ because __'' doesn't work, a
> quote there is the old-style package name separator, it must be
> __('').

Do not know: would not SPACE (instead of parens) be a better alternative?

> Control characters in your sources probably aren't a great idea,
> but at least it gives a conversion.  However remember Emacs will
> in fact save a newline in the buffer as CRLF or CR under DOS or
> Mac coding systems.

I think this should not be relevant (unless with very old version of Perl...)


reply via email to

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