unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ethan <ethan.glasser.camp@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 17947@debbugs.gnu.org
Subject: bug#17947: 24.3; ruby-mode sets require-final-newline unconditionally
Date: Sun, 6 Jul 2014 00:27:39 -0400	[thread overview]
Message-ID: <CAOJ+Ob03Sx4RgFsE9F2gza8iq9J_VtRftMcdRBSkYZyPvz1J5w@mail.gmail.com> (raw)
In-Reply-To: <83egxzdx35.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1578 bytes --]

Hi Eli, if you are happy with the behavior of require-final-newline, then
that's fine and I don't believe you are likely to want to use ethan-wspace.
The point of the warning is to make it clear to a user that you can use
ethan-wspace, or require-final-newline, but not both. The point of the bug
report is merely to ask that if a user wants to use ethan-wspace and not
require-final-newline, that they be able to do so.

Thanks Stefan for the quick turnaround on the patch and the context for why
the code is the way it is!

Ethan



On Sat, Jul 5, 2014 at 10:45 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Stefan Monnier <monnier@iro.umontreal.ca>
> > Cc: 17947@debbugs.gnu.org,  ethan.glasser.camp@gmail.com
> > Date: Sat, 05 Jul 2014 19:02:05 -0400
> >
> > >> > One user reported that ruby-mode triggers this warning. Sure
> enough, in
> > >> > ruby-mode.el at line 287, I see:
> > >> >   (set (make-local-variable 'require-final-newline) t)
> > >> Removed in the `emacs-24' branch.
> > > Regardless of what this or that mode does, I think it's wrong for
> > > ethan-wspace to annoy users for having require-final-newline set
> > > non-nil.
> >
> > It's his package and he's free to do what he wants with it, I think.
>
> Yes, he is.  Which is why I said "I think".  It's an opinion of an
> Emacs user who has this variable customized since about forever, and
> would find it annoying to be annoyed by such warnings.  User who
> customized this variables clearly tell that they want to be in control
> of the final newline, so packages that look at that shouldn't.
>

[-- Attachment #2: Type: text/html, Size: 2246 bytes --]

      reply	other threads:[~2014-07-06  4:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-05 18:07 bug#17947: 24.3; ruby-mode sets require-final-newline unconditionally Ethan Glasser-Camp
2014-07-05 18:11 ` Eli Zaretskii
2014-07-05 18:19   ` Ethan
2014-07-05 18:38     ` Eli Zaretskii
2014-07-05 18:38 ` Stefan Monnier
2014-07-05 19:23   ` Eli Zaretskii
2014-07-05 23:02     ` Stefan Monnier
2014-07-06  2:45       ` Eli Zaretskii
2014-07-06  4:27         ` Ethan [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOJ+Ob03Sx4RgFsE9F2gza8iq9J_VtRftMcdRBSkYZyPvz1J5w@mail.gmail.com \
    --to=ethan.glasser.camp@gmail.com \
    --cc=17947@debbugs.gnu.org \
    --cc=eliz@gnu.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).