From: Noam Postavsky <npostavs@gmail.com>
To: Alexis <flexibeast@gmail.com>
Cc: 23294@debbugs.gnu.org, "Mohammed Sadik P. K." <sadiq@sadiqpk.org>
Subject: bug#23294: 25.0.92; modify-file-local-variable-prop-line adds extra "; "
Date: Tue, 05 Jun 2018 19:51:59 -0400 [thread overview]
Message-ID: <87y3fs6bc0.fsf@gmail.com> (raw)
In-Reply-To: <871t67uwz5.fsf@gmail.com> (Alexis's message of "Fri, 15 Apr 2016 17:55:58 +1000")
severity 23294 minor
found 23294 26.1
tags 23294 + confirmed easy
quit
Alexis <flexibeast@gmail.com> writes:
> Mohammed Sadik P. K. <sadiq@sadiqpk.org> writes:
>
>> For the function modify-file-local-variable-prop-line if run with
>> 'add-or-replace as the third argument, it should replace the current
>> values. It does, but along with replacing the values, it adds an
>> extra "; " at the beginning of the variable.
>
> Reproduced on 24.5 (Debian Jessie x86_64).
Right, looks like this expression in
modify-file-local-variable-prop-line should be modified to handle some
whitespace after the semicolon.
(if (and (not (eq (char-before) ?\;))
next prev parent reply other threads:[~2018-06-05 23:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-15 1:52 bug#23294: 25.0.92; modify-file-local-variable-prop-line adds extra "; " Mohammed Sadik P. K.
2016-04-15 7:55 ` Alexis
2018-06-05 23:51 ` Noam Postavsky [this message]
2018-08-14 10:05 ` bug#23294: Wenjamin Petrenko
2018-08-16 0:02 ` bug#23294: 25.0.92; modify-file-local-variable-prop-line adds extra "; " Noam Postavsky
2018-08-16 10:54 ` Wenjamin Petrenko
2018-08-25 1:59 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y3fs6bc0.fsf@gmail.com \
--to=npostavs@gmail.com \
--cc=23294@debbugs.gnu.org \
--cc=flexibeast@gmail.com \
--cc=sadiq@sadiqpk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.