[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New development for emacs's octave-mode
From: |
Olaf Till |
Subject: |
Re: New development for emacs's octave-mode |
Date: |
Mon, 29 Apr 2013 13:55:05 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Mon, Apr 29, 2013 at 07:18:57PM +0800, Leo Liu wrote:
> On 2013-04-29 17:22 +0800, Olaf Till wrote:
> > breaking a long line containing strings with placeholders still seems
> > to mistake the percent sign for the start of a comment:
> >
> > breaking the line
> >
> > printf ("aaaa dddd dddd dddd dddd dddd dddd dddd dddd dddd dddd %i", abcd);
> >
> > leads to
> >
> > printf ("aaaa dddd dddd dddd dddd dddd dddd dddd dddd dddd dddd %i", \
> > %abcd);
>
> Confirmed. I never like auto-formatting code (only comments).
>
> Based on your experience, does the octave-specific fill function do
> something nice that the default fill function doesn't?
>
> You can enable the default auto-fill-function by:
>
> (add-hook 'actave-mode-hook
> (lambda ()
> (setq normal-auto-fill-function 'do-auto-fill)))
Putting this into the initialization file (typo 'actave- corrected)
doesn't seem to change anything in octave mode at first glance, so I
don't think enabling default filling was successful ... Shouldn't I
see line-breaking as in text-fill mode then?
Olaf
--
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net
signature.asc
Description: Digital signature
- Re: New development for emacs's octave-mode, (continued)
Re: New development for emacs's octave-mode, Leo Liu, 2013/04/29
Re: New development for emacs's octave-mode, Leo Liu, 2013/04/30
Re: New development for emacs's octave-mode, Olaf Till, 2013/04/29
Re: New development for emacs's octave-mode, Leo Liu, 2013/04/30