GNU bug report logs - #28916
25.1; octave-block-offset should be safe as file-local variable

Previous Next

Package: emacs;

Reported by: Benjamin Moody <benjaminmoody <at> gmail.com>

Date: Fri, 20 Oct 2017 18:32:02 UTC

Severity: minor

Tags: fixed

Found in version 25.1

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 28916 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Benjamin Moody <benjaminmoody <at> gmail.com>
Cc: 28916 <at> debbugs.gnu.org
Subject: Re: bug#28916: 25.1; octave-block-offset should be safe as
 file-local variable
Date: Mon, 15 Jul 2019 00:01:49 +0200
Benjamin Moody <benjaminmoody <at> gmail.com> writes:

> The variable 'octave-block-offset' determines the number of spaces used
> for automatically indenting Octave code.
>
> Like similar variables used in other modes (e.g. c-basic-offset), it is
> often desirable to set this variable on a per-file or per-directory
> basis, in order to conform with a project's existing indentation style.
>
> Thus, this variable should be marked as "safe as a file local variable
> if its value satisfies the predicate ‘integerp’."

Makes sense; I've now marked it as such on the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 6 years and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.