[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57212: 29.0.50; [PATCH] Citizen's arrest of end-of-defun-moves-to-eo
From: |
Lars Ingebrigtsen |
Subject: |
bug#57212: 29.0.50; [PATCH] Citizen's arrest of end-of-defun-moves-to-eol |
Date: |
Mon, 15 Aug 2022 09:06:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
dick.r.chiang@gmail.com writes:
> -(defvar end-of-defun-moves-to-eol t
> - "Whether `end-of-defun' moves to eol before doing anything else.
> -Set this to nil if this movement adversely affects the buffer's
> -major mode's decisions about context.")
I'm not much in favour of this variable either, but it fixes a real
problem (that end-of-defun is basically misdesigned -- we move point
before end-of-defun-function, which is just way too DWIM and doesn't
allow you to make end-of-defun-function behave).
A complete redesign would have been better, but I think we're not going
to do that, so I'm closing this bug report.