all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Request to put three bug fixes into Emacs 25.
@ 2016-04-26 16:52 Alan Mackenzie
  2016-04-26 17:35 ` John Wiegley
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Mackenzie @ 2016-04-26 16:52 UTC (permalink / raw)
  To: John Wiegley; +Cc: Mohammed Sadik, Anders Lindgren, emacs-devel

Hello, John.

There're three last minute bug fixes I'd like to put into Emacs 25, for
the reasons given:


1. Bug #23347 25.0.92; Follow mode scrolling broken -- scrolls only one
page

Fixing this bug would prevent a change to UI: traditionally in Follow
Mode, follow-scroll-up and follow-scroll-down scroll the number of lines
equivalent to all the windows displaying the current buffer.  In
emacs-25, this has changed to only scrolling by the height of the current
window.  The fix to #23347 restores the traditional functionality of
these two functions, introducing new names for what follow-scroll-up/down
currently do.

The fix has been checked by Anders Lindgren, the submitter of the bug and
original author of Follow Mode.


2. Bug #23312 25.0.92; C++: Incorrect indentation of enum values inside a
class

This was also reported by Anders.  The bug is that in C++ Mode, a piece
of code like the following,

class MyClass
{
public:
  enum Id
  {
    kAlpha,
      kBeta     // Incorrect indentation.

, gets misindented.  This happened because a previous enhancement (for
enums with explicit type) didn't check the context of a colon
sufficiently rigorously.  The misindentation happens when "enum" directly
follows a protection keyword plus colon (like "public:").  This is going
to happen very often, and not fixing this bug would cause a lot of
irritation.


3. Bug #23308 25.0.92; angle brackects in #include breaks syntax-ppss
(c-mode)

This was reported by Mohammed Sadik.  Here, in C Mode (etc.), the text
properties marking the "parenthesis nature" of the angle brackets in a
#include:

    #include <stdio.h>

are unbalanced, throwing the syntactic analysis out.  This was caused by
an unfortunate attempt to fix another bug some while ago (I do not know
its number offhand).  That other bug has since been completely fixed
properly by another change.  The fix to bug #23308 is to revert that
earlier change, and is a simple 1-line fix.  The consequences of not
fixing this bug are unknown, but could well be interference with the
proper working of some of the newer facilities (like electric-pair-mode)
which depend on correct syntactic analysis.


So, may I put these fixes into Emacs 25?

Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Request to put three bug fixes into Emacs 25.
  2016-04-26 16:52 Request to put three bug fixes into Emacs 25 Alan Mackenzie
@ 2016-04-26 17:35 ` John Wiegley
  2016-04-29 15:17   ` Alan Mackenzie
  0 siblings, 1 reply; 4+ messages in thread
From: John Wiegley @ 2016-04-26 17:35 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: Mohammed Sadik, Anders Lindgren, emacs-devel

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

>>>>> Alan Mackenzie <acm@muc.de> writes:

> So, may I put these fixes into Emacs 25?

Yes, these sound fine to me. If anyone wishes to object, please allow them two
more days to do so.

I'm also going to apply the recent addition for Python 3 syntax from Joergen,
later this evening.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 629 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Request to put three bug fixes into Emacs 25.
  2016-04-26 17:35 ` John Wiegley
@ 2016-04-29 15:17   ` Alan Mackenzie
  2016-04-29 21:22     ` John Wiegley
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Mackenzie @ 2016-04-29 15:17 UTC (permalink / raw)
  To: Mohammed Sadik, Anders Lindgren, emacs-devel

Hello, John.

On Tue, Apr 26, 2016 at 01:35:15PM -0400, John Wiegley wrote:
> >>>>> Alan Mackenzie <acm@muc.de> writes:

> > So, may I put these fixes into Emacs 25?

> Yes, these sound fine to me. If anyone wishes to object, please allow them two
> more days to do so.

No objections were seen, so I've committed them.

[ .... ]

> -- 
> John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
> http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Request to put three bug fixes into Emacs 25.
  2016-04-29 15:17   ` Alan Mackenzie
@ 2016-04-29 21:22     ` John Wiegley
  0 siblings, 0 replies; 4+ messages in thread
From: John Wiegley @ 2016-04-29 21:22 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: Mohammed Sadik, Anders Lindgren, emacs-devel

>>>>> Alan Mackenzie <acm@muc.de> writes:

> No objections were seen, so I've committed them.

Thanks, Alan!

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-29 21:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26 16:52 Request to put three bug fixes into Emacs 25 Alan Mackenzie
2016-04-26 17:35 ` John Wiegley
2016-04-29 15:17   ` Alan Mackenzie
2016-04-29 21:22     ` John Wiegley

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.