From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 14:24:32 2022 Received: (at submit) by debbugs.gnu.org; 14 Aug 2022 18:24:32 +0000 Received: from localhost ([127.0.0.1]:39895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNIHl-0000AW-FQ for submit@debbugs.gnu.org; Sun, 14 Aug 2022 14:24:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:54638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNHx1-00086y-PL for submit@debbugs.gnu.org; Sun, 14 Aug 2022 14:03:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNHx1-0001dh-L5 for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 14:03:03 -0400 Received: from mail-qv1-xf2e.google.com ([2607:f8b0:4864:20::f2e]:41891) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNHwx-0008R3-Hp for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 14:03:01 -0400 Received: by mail-qv1-xf2e.google.com with SMTP id u1so3516299qvs.8 for ; Sun, 14 Aug 2022 11:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc; bh=JX/gxoamh/qA9m4FZMYH27WMaHGR3O0UzAuz/57asWM=; b=nHwnS2yzBlNXdmY9WjVAzdVMaMqDkQhqcdTT6R3Mn0zfpkMRh4jeZ8yo7cF2q6immd haSvxER5zpwhm3DNjr1ciRWV8D9Yg6w7aqOtVLnmN7E+JroVxD1+REOOjLpU39YOlQyD 2UuHCHUUqmOB6/JW12azmyt1U8DLDUmT+SQUpGrM2Xjl7xHxmB2cAYqisbLCyPQFspOW 6wgozYSSCyjLY+viKtOr8QpL+GsiBJvNLQ97PLcbNPpWnyARtg+1ze4x3Wd0OiNdZyU+ aGzQ68OlRo+xxJ+1NdQMZ712cYeYGOEBdtwBtFhvkfGNuwh8JdAfuTpghgWK0dfik+VL XfBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc; bh=JX/gxoamh/qA9m4FZMYH27WMaHGR3O0UzAuz/57asWM=; b=bcTjucGS8/UwNx5jyCINRlQ548cqMURpdzOF0/K+KVDhZVBFq5bS4kuGvahfTSPSVS BGmvpyMEOztDBXc7Xljq2gG4elxyHrFNZvGUHFm3l/PaUZPagSCYX2X8je01YQ9jVQ6E 81607Ib5j8FSqro/gizoMArdw76dpCILNL+QZ5/a9ZdTyYRMpD/Cb/SLPZuYLM0VTqXB cK6PInFb+cyTo1Aagi5Lv93z6OCuLNF1CBBRcndo0hC+q9FYC8KBIfXzBEIafvZ588mZ sI7GMSoARoWAiNa5pL6R5m3mYFq17hbtvNoBFxlpRnG8HvbeAI4OZhXYlbn2fZrMtuNN lWGg== X-Gm-Message-State: ACgBeo2EXdhQFXW88oBFLmpFpu+3MuWEWo7WekVswfXHvBViLRDFJpmU FP56e9E29V2JH2c6xzr3eG+CMh/ufKM= X-Google-Smtp-Source: AA6agR6OIufUVA3nvHmw2j/aiQ0NABBOJVJV4JRBZWT0FNbcTZ1vvOWXSr3FU1wIQm2FGBl5VCq5lQ== X-Received: by 2002:a05:6214:2b0b:b0:476:cc01:93af with SMTP id jx11-20020a0562142b0b00b00476cc0193afmr11006162qvb.56.1660500177051; Sun, 14 Aug 2022 11:02:57 -0700 (PDT) Received: from localhost (pool-71-125-52-37.nycmny.fios.verizon.net. [71.125.52.37]) by smtp.gmail.com with ESMTPSA id bq18-20020a05620a469200b006b59ddb4bc5sm6771024qkb.84.2022.08.14.11.02.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Aug 2022 11:02:56 -0700 (PDT) From: dick.r.chiang@gmail.com To: bug-gnu-emacs Subject: 29.0.50; [PATCH] Citizen's arrest of end-of-defun-moves-to-eol Date: Sun, 14 Aug 2022 14:02:55 -0400 Message-ID: <87k07au2i8.fsf@dick> User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::f2e; envelope-from=dick.r.chiang@gmail.com; helo=mail-qv1-xf2e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 14 Aug 2022 14:24:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain It's a bizarre policy to allow users to inject their personal hooks willy-nilly. To the extent I can incur further ill-will, I'll remind the maintainers feature-flag proliferation is a programming tradition you should work against, not encourage. If you're convinced narrowing within a critical section of redisplay is safe (and I suspect it is), do it all the time, not just when "long_line_optimizations_p" is true. Man up, is what I'm saying. I wish I had your user base to vet my larger changes. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Squashed-commit-of-the-following.patch >From 574fdca333678ccf67c6f403eff6ea27197af272 Mon Sep 17 00:00:00 2001 From: dickmao Date: Sun, 14 Aug 2022 13:47:10 -0400 Subject: [PATCH] Squashed commit of the following: commit e4e6e9b16bca6754ad1d3b176e065fccd72dca98 Author: dickmao Date: Sun Aug 14 13:46:36 2022 -0400 Revert "Add variable end-of-defun-moves-to-eol" This reverts commit 50730a8b04ede381c958600a1400efe8d04d9dfc. commit fa36e511b9f348e8f3b2555b010c00516c6602aa Author: dickmao Date: Sun Aug 14 13:46:25 2022 -0400 Revert "; * lisp/emacs-lisp/lisp.el (end-of-defun-moves-to-eol): Doc fix." This reverts commit 564571f712fcf0ffcb93eeca67f7716263c9def5. (end-of-defun): --- lisp/emacs-lisp/lisp.el | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index acae1a0b0a9..4b85414943a 100644 --- a/lisp/emacs-lisp/lisp.el +++ b/lisp/emacs-lisp/lisp.el @@ -507,11 +507,6 @@ end-of-defun-function So the function can assume that point is at the beginning of the defun body. It should move point to the first position after the defun.") -(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.") - (defun buffer-end (arg) "Return the \"far end\" position of the buffer, in direction ARG. If ARG is positive, that's the end of the buffer. @@ -543,9 +538,7 @@ end-of-defun (push-mark)) (if (or (null arg) (= arg 0)) (setq arg 1)) (let ((pos (point)) - (beg (progn (when end-of-defun-moves-to-eol - (end-of-line 1)) - (beginning-of-defun-raw 1) (point))) + (beg (progn (end-of-line 1) (beginning-of-defun-raw 1) (point))) (skip (lambda () ;; When comparing point against pos, we want to consider that ;; if point was right after the end of the function, it's -- 2.36.1 --=-=-= Content-Type: text/plain In Commercial Emacs 0.3.1snapshot ef359a6 in dev (upstream 29.0.50, x86_64-pc-linux-gnu) built on dick Repository revision: ef359a65022fc814c2cf51fa5ebd3743356f2da3 Repository branch: dev Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Ubuntu 20.04.4 LTS Configured using: 'configure WERROR_CFLAGS=-Werror --prefix=/home/dick/.local --with-tree-sitter' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON TREE_SITTER LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Magit Minor modes in effect: global-git-commit-mode: t shell-dirtrack-mode: t projectile-mode: t flx-ido-mode: t override-global-mode: t global-hl-line-mode: t hl-line-mode: t winner-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/dick/gomacro-mode/gomacro-mode hides /home/dick/.emacs.d/elpa/gomacro-mode-20200326.1103/gomacro-mode /home/dick/.emacs.d/elpa/go-rename-20190805.2101/go-rename hides /home/dick/.emacs.d/elpa/go-mode-1.6.0/go-rename /home/dick/.emacs.d/elpa/go-guru-20181012.330/go-guru hides /home/dick/.emacs.d/elpa/go-mode-1.6.0/go-guru /home/dick/org-gcal.el/org-gcal hides /home/dick/.emacs.d/elpa/org-gcal-0.3/org-gcal /home/dick/.emacs.d/elpa/request-deferred-0.2.0/request-deferred hides /home/dick/.emacs.d/elpa/request-0.3.3/request-deferred /home/dick/.emacs.d/elpa/chess-2.0.5/_pkg hides /home/dick/.local/share/emacs/site-lisp/_pkg /home/dick/.emacs.d/elpa/chess-2.0.5/chess-pos hides /home/dick/.local/share/emacs/site-lisp/chess-pos /home/dick/.emacs.d/elpa/chess-2.0.5/chess-module hides /home/dick/.local/share/emacs/site-lisp/chess-module /home/dick/.emacs.d/elpa/chess-2.0.5/chess-ucb hides /home/dick/.local/share/emacs/site-lisp/chess-ucb /home/dick/.emacs.d/elpa/chess-2.0.5/chess-scid hides /home/dick/.local/share/emacs/site-lisp/chess-scid /home/dick/.emacs.d/elpa/chess-2.0.5/chess-puzzle hides /home/dick/.local/share/emacs/site-lisp/chess-puzzle /home/dick/.emacs.d/elpa/chess-2.0.5/chess-irc hides /home/dick/.local/share/emacs/site-lisp/chess-irc /home/dick/.emacs.d/elpa/chess-2.0.5/chess-network hides /home/dick/.local/share/emacs/site-lisp/chess-network /home/dick/.emacs.d/elpa/chess-2.0.5/chess-autosave hides /home/dick/.local/share/emacs/site-lisp/chess-autosave /home/dick/.emacs.d/elpa/chess-2.0.5/chess-engine hides /home/dick/.local/share/emacs/site-lisp/chess-engine /home/dick/.emacs.d/elpa/chess-2.0.5/chess-tutorial hides /home/dick/.local/share/emacs/site-lisp/chess-tutorial /home/dick/.emacs.d/elpa/chess-2.0.5/chess-german hides /home/dick/.local/share/emacs/site-lisp/chess-german /home/dick/.emacs.d/elpa/chess-2.0.5/chess-file hides /home/dick/.local/share/emacs/site-lisp/chess-file /home/dick/.emacs.d/elpa/chess-2.0.5/chess-random hides /home/dick/.local/share/emacs/site-lisp/chess-random /home/dick/.emacs.d/elpa/chess-2.0.5/chess-stockfish hides /home/dick/.local/share/emacs/site-lisp/chess-stockfish /home/dick/.emacs.d/elpa/chess-2.0.5/chess-pgn hides /home/dick/.local/share/emacs/site-lisp/chess-pgn /home/dick/.emacs.d/elpa/chess-2.0.5/chess-kibitz hides /home/dick/.local/share/emacs/site-lisp/chess-kibitz /home/dick/.emacs.d/elpa/chess-2.0.5/chess-eco hides /home/dick/.local/share/emacs/site-lisp/chess-eco /home/dick/.emacs.d/elpa/chess-2.0.5/chess-display hides /home/dick/.local/share/emacs/site-lisp/chess-display /home/dick/.emacs.d/elpa/chess-2.0.5/chess-var hides /home/dick/.local/share/emacs/site-lisp/chess-var /home/dick/.emacs.d/elpa/chess-2.0.5/chess-test hides /home/dick/.local/share/emacs/site-lisp/chess-test /home/dick/.emacs.d/elpa/chess-2.0.5/chess-ply hides /home/dick/.local/share/emacs/site-lisp/chess-ply /home/dick/.emacs.d/elpa/chess-2.0.5/chess-message hides /home/dick/.local/share/emacs/site-lisp/chess-message /home/dick/.emacs.d/elpa/chess-2.0.5/chess-ics1 hides /home/dick/.local/share/emacs/site-lisp/chess-ics1 /home/dick/.emacs.d/elpa/chess-2.0.5/chess-phalanx hides /home/dick/.local/share/emacs/site-lisp/chess-phalanx /home/dick/.emacs.d/elpa/chess-2.0.5/chess-game hides /home/dick/.local/share/emacs/site-lisp/chess-game /home/dick/.emacs.d/elpa/chess-2.0.5/chess-log hides /home/dick/.local/share/emacs/site-lisp/chess-log /home/dick/.emacs.d/elpa/chess-2.0.5/chess-plain hides /home/dick/.local/share/emacs/site-lisp/chess-plain /home/dick/.emacs.d/elpa/chess-2.0.5/chess-perft hides /home/dick/.local/share/emacs/site-lisp/chess-perft /home/dick/.emacs.d/elpa/chess-2.0.5/chess-glaurung hides /home/dick/.local/share/emacs/site-lisp/chess-glaurung /home/dick/.emacs.d/elpa/chess-2.0.5/chess-ai hides /home/dick/.local/share/emacs/site-lisp/chess-ai /home/dick/.emacs.d/elpa/chess-2.0.5/chess-fruit hides /home/dick/.local/share/emacs/site-lisp/chess-fruit /home/dick/.emacs.d/elpa/chess-2.0.5/chess-uci hides /home/dick/.local/share/emacs/site-lisp/chess-uci /home/dick/.emacs.d/elpa/chess-2.0.5/chess-epd hides /home/dick/.local/share/emacs/site-lisp/chess-epd /home/dick/.emacs.d/elpa/chess-2.0.5/chess-database hides /home/dick/.local/share/emacs/site-lisp/chess-database /home/dick/.emacs.d/elpa/chess-2.0.5/chess-link hides /home/dick/.local/share/emacs/site-lisp/chess-link /home/dick/.emacs.d/elpa/chess-2.0.5/chess-transport hides /home/dick/.local/share/emacs/site-lisp/chess-transport /home/dick/.emacs.d/elpa/chess-2.0.5/chess-none hides /home/dick/.local/share/emacs/site-lisp/chess-none /home/dick/.emacs.d/elpa/chess-2.0.5/chess-polyglot hides /home/dick/.local/share/emacs/site-lisp/chess-polyglot /home/dick/.emacs.d/elpa/chess-2.0.5/chess-crafty hides /home/dick/.local/share/emacs/site-lisp/chess-crafty /home/dick/.emacs.d/elpa/chess-2.0.5/chess-chat hides /home/dick/.local/share/emacs/site-lisp/chess-chat /home/dick/.emacs.d/elpa/chess-2.0.5/chess hides /home/dick/.local/share/emacs/site-lisp/chess /home/dick/.emacs.d/elpa/chess-2.0.5/chess-images hides /home/dick/.local/share/emacs/site-lisp/chess-images /home/dick/.emacs.d/elpa/chess-2.0.5/chess-gnuchess hides /home/dick/.local/share/emacs/site-lisp/chess-gnuchess /home/dick/.emacs.d/elpa/chess-2.0.5/chess-fen hides /home/dick/.local/share/emacs/site-lisp/chess-fen /home/dick/.emacs.d/elpa/chess-2.0.5/chess-ics hides /home/dick/.local/share/emacs/site-lisp/chess-ics /home/dick/.emacs.d/elpa/chess-2.0.5/chess-ics2 hides /home/dick/.local/share/emacs/site-lisp/chess-ics2 /home/dick/.emacs.d/elpa/chess-2.0.5/chess-common hides /home/dick/.local/share/emacs/site-lisp/chess-common /home/dick/.emacs.d/elpa/chess-2.0.5/chess-input hides /home/dick/.local/share/emacs/site-lisp/chess-input /home/dick/.emacs.d/elpa/chess-2.0.5/chess-announce hides /home/dick/.local/share/emacs/site-lisp/chess-announce /home/dick/.emacs.d/elpa/chess-2.0.5/chess-clock hides /home/dick/.local/share/emacs/site-lisp/chess-clock /home/dick/.emacs.d/elpa/chess-2.0.5/chess-sound hides /home/dick/.local/share/emacs/site-lisp/chess-sound /home/dick/.emacs.d/elpa/chess-2.0.5/chess-sjeng hides /home/dick/.local/share/emacs/site-lisp/chess-sjeng /home/dick/.emacs.d/elpa/chess-2.0.5/chess-algebraic hides /home/dick/.local/share/emacs/site-lisp/chess-algebraic /home/dick/.emacs.d/elpa/transient-0.3.7snapshot/transient hides /home/dick/.local/share/emacs/0.3.1/lisp/transient Features: (shadow bbdb-message footnote emacsbug nndoc display-line-numbers debbugs-gnu debbugs-compat debbugs soap-client rng-xsd rng-dt rng-util xsd-regexp shortdoc mule-util shr-color gravatar dns vc cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ag vc-svn find-dired jka-compr pulse elpaso elpaso-admin elpaso-milky elpaso-defs google-translate gnus-html url-queue help-fns radix-tree rect qp sort smiley flow-fill mm-archive mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-ml blamer a magit-extras goto-addr face-remap gnus-notifications gnus-fun notifications gnus-kill gnus-dup disp-table utf-7 url-cache benchmark nnrss nnfolder nndiscourse rbenv nnhackernews nntwitter nntwitter-api bbdb-gnus gnus-demon nntp nnmairix nnml nnreddit gnus-topic url-http url-auth url-gw network-stream nsm request virtualenvwrapper gud s json-rpc python gnus-score score-mode gnus-bcklg gnus-srvr gnus-cite anaphora bbdb-mua bbdb-com bbdb bbdb-site timezone gnus-delay gnus-draft gnus-cache gnus-agent gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom nndraft nnmh gnus-group mm-url gnus-undo use-package use-package-delight use-package-diminish gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win magit-patch-changelog magit-patch magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu edebug debug backtrace magit-diff smerge-mode diff git-commit log-edit message sendmail yank-media puny dired-x dired dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader pcvs-util add-log magit-core magit-margin magit-transient magit-process with-editor server magit-mode transient misearch multi-isearch vc-git diff-mode vc-dispatcher bug-reference tramp-archive tramp-gvfs tramp-cache time-stamp zeroconf dbus xml tramp tramp-loaddefs trampver tramp-integration cus-start files-x tramp-compat shell pcomplete parse-time iso8601 ls-lisp paredit-ext paredit inf-ruby ruby-mode smie company pcase haskell-interactive-mode haskell-presentation-mode haskell-process haskell-session haskell-compile haskell-mode haskell-cabal haskell-utils haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme haskell-align-imports haskell-complete-module haskell-ghc-support noutline outline flymake-proc flymake warnings etags fileloop generator dabbrev haskell-customize hydra lv use-package-ensure solarized-theme solarized-definitions projectile lisp-mnt ibuf-ext ibuffer ibuffer-loaddefs thingatpt magit-autorevert autorevert filenotify magit-git magit-base magit-section format-spec crm dash rx compat-27 compat-26 compat grep compile comint ansi-color gnus nnheader range mail-utils mm-util mail-prsvr gnus-util text-property-search time-date flx-ido flx google-translate-default-ui google-translate-core-ui facemenu color ido google-translate-core google-translate-tk google-translate-backend use-package-bind-key bind-key auto-complete easy-mmode advice edmacro kmacro popup cus-edit pp cus-load icons wid-edit emms-player-mplayer emms-player-simple emms emms-compat cl-extra help-mode xref project use-package-core derived hl-line winner ring consult-autoloads debbugs-autoloads eglot-autoloads elpaso-disc-autoloads elpaso-autoloads find-func finder-inf go-mode-autoloads json-reformat-autoloads json-snatcher-autoloads magit-autoloads projectile-autoloads sml-mode-autoloads epl-autoloads tornado-template-mode-autoloads typescript-mode-autoloads request-autoloads info wordnut-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile cconv cldefs url-vars cl-loaddefs cl-lib rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type tree-sitter-elisp-mode elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tree-sitter-prog-mode tree-sitter tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 1526309 215676) (symbols 48 48001 1) (strings 32 240875 57500) (string-bytes 1 6950128) (vectors 16 147043) (vector-slots 8 3292476 186650) (floats 8 1514 3369) (intervals 56 144853 2308) (buffers 1000 70)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 14:39:28 2022 Received: (at 57212) by debbugs.gnu.org; 14 Aug 2022 18:39:28 +0000 Received: from localhost ([127.0.0.1]:39914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNIWF-0000Xl-Vb for submit@debbugs.gnu.org; Sun, 14 Aug 2022 14:39:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNIWC-0000XW-4w for 57212@debbugs.gnu.org; Sun, 14 Aug 2022 14:39:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50634) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNIW6-00058V-UE; Sun, 14 Aug 2022 14:39:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=oZ2LKCybq4QOYp7+VLAmgOBWsUXcS4fakmROG0mo390=; b=HEzu7Jex+CZF h0al/a5QP9bi6BI2nvBWv2JPFzLLHP91UptDKN+yJlXHVQFi7aLW1R19taY7mfPlfsHeWddJ2Q2Fx Dux/mmGREnSYsvt8UnClBx7W897KNPyYhtmwg+5UCnFnYQVSeahykL2u968rVNg2NPb7X+BooSkxJ ikz64dVd7UMmWlACWhSqupU0kdhi+OWztFm1wkvSN8dchgKdKiIrHg4Apt/A9eO5Fpj8RAjIU8UI9 MLS0+ljwK2rLXZmE3wMq8XLCiL153bT/HdVpojoPm97ZKIWQJFN/acFMGtIguH+h1AZHMmuNkXByV Tu6BxLbusog3X7muXMdG5A==; Received: from [87.69.77.57] (port=4530 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNIW6-00041G-Dy; Sun, 14 Aug 2022 14:39:18 -0400 Date: Sun, 14 Aug 2022 21:39:03 +0300 Message-Id: <831qtik6uw.fsf@gnu.org> From: Eli Zaretskii To: dick.r.chiang@gmail.com In-Reply-To: <87k07au2i8.fsf@dick> (dick.r.chiang@gmail.com) Subject: Re: bug#57212: 29.0.50; [PATCH] Citizen's arrest of end-of-defun-moves-to-eol References: <87k07au2i8.fsf@dick> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57212 Cc: 57212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: dick.r.chiang@gmail.com > Date: Sun, 14 Aug 2022 14:02:55 -0400 > > To the extent I can incur further ill-will, I'll remind the maintainers > feature-flag proliferation is a programming tradition you should > work against, not encourage. If you're convinced narrowing within > a critical section of redisplay is safe (and I suspect it is), do > it all the time, not just when "long_line_optimizations_p" is true. If you'd read the code guarded by that flag and understand what it does, you wouldn't have made such nonsensical proposals. Safety has nothing to do with that flag, nothing at all. The reason is even spelled out in the documentation and in some comments to the code, if the code itself is too obscure to grasp. (And what does this have to do with end-of-defun-moves-to-eol, anyway??) From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 18:02:32 2022 Received: (at 57212) by debbugs.gnu.org; 14 Aug 2022 22:02:32 +0000 Received: from localhost ([127.0.0.1]:40016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNLgm-0005cm-70 for submit@debbugs.gnu.org; Sun, 14 Aug 2022 18:02:32 -0400 Received: from mail-qv1-f46.google.com ([209.85.219.46]:36823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNKY8-0003pF-3b for 57212@debbugs.gnu.org; Sun, 14 Aug 2022 16:49:34 -0400 Received: by mail-qv1-f46.google.com with SMTP id y11so4253865qvn.3 for <57212@debbugs.gnu.org>; Sun, 14 Aug 2022 13:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc; bh=kHGdWts6QDhm6mQhyivNmjGp4+YAURVUtURLDFnzHbM=; b=VUmS+KwM7bAJi97VeNJa4tmmu+SKQjwW52Tj2NcFrUB3PLRRSovRB49oqR7XljRJBS sBUARybRjhLybiMqSAC4Cdyvvb11OKc0LCNltHhZDpy96wYTZPUrV9EkKt5CGkZBmtl+ qUtfd4Zg1DVufk99wteIFR8QXB+uQ6F+DJBedIw5tGZNVSN7O35GYMKwVfojNZm0czlQ ab1IZB/FLq8G5GINBq0s1YVrzOzpdY+Vzo0i6uragjCBIlR5GClra87nM7fzTn7qhMn0 qdYI4dP4jqnDkPg7vWsxYGXk0ryaybJRcVC1BXqEWWc49KV0GJHACfutl1cKCoOmd3HI n2DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc; bh=kHGdWts6QDhm6mQhyivNmjGp4+YAURVUtURLDFnzHbM=; b=lM/2KM1rcH3kiE89DSfQ6jbQ7SgT+TN22IcTJDvHFbVqkGNMaJPCf5D9prIkfQXfog Isj6W+RCGWNKBziDZPkYOPl5nlFiDaZTB1gg4f/S9gCQtyVau5NDzWlxwTvQCY+0rGdg PdVSo4chNGbhP4gLrKvy5rrz6Ces65Q3ZwrGzDYxqrnqt00GSBKz9/j7uZ/BuFPinZSY 9fjhRTlzI8OAar/LRQ10qkUiyJbFrnXrEi5coOchvYSerfj/rQRPqBtLl47Tvkt9Fwy8 TAp/WfdVYD4YQKpKCPTUBYwdJBLj69iix9g1Boh64yqz6CSAfrOV1Ka0rI0ic0fv7iRo j8Bg== X-Gm-Message-State: ACgBeo0DbhMYpy56shDeJBXmfuCAyEmrnpUT03VAI0W42w0SrXcsel/q 0Xb+7NiuKsFslL1PQMXCB6qTy0sVp54= X-Google-Smtp-Source: AA6agR6rYDF3Z+uuO2ehNxkZ5QExPDEPVXp/1tD+NgDUjaYoq1f/61sHnslRbUgTegTRK7fK4PKhQA== X-Received: by 2002:a05:6214:21a6:b0:474:83ca:9e10 with SMTP id t6-20020a05621421a600b0047483ca9e10mr11374459qvc.87.1660510166555; Sun, 14 Aug 2022 13:49:26 -0700 (PDT) Received: from localhost (pool-71-125-52-37.nycmny.fios.verizon.net. [71.125.52.37]) by smtp.gmail.com with ESMTPSA id br10-20020a05620a460a00b006b962b6d628sm7319379qkb.79.2022.08.14.13.49.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Aug 2022 13:49:25 -0700 (PDT) From: dick To: Eli Zaretskii Subject: Re: bug#57212: 29.0.50; [PATCH] Citizen's arrest of end-of-defun-moves-to-eol In-Reply-To: <831qtik6uw.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 14 Aug 2022 21:39:03 +0300") References: <87k07au2i8.fsf@dick> <831qtik6uw.fsf@gnu.org> Date: Sun, 14 Aug 2022 16:49:24 -0400 Message-ID: <87fshytusr.fsf@dick> User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57212 X-Mailman-Approved-At: Sun, 14 Aug 2022 18:02:31 -0400 Cc: 57212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > (And what does this have to do with end-of-defun-moves-to-eol, > anyway??) I consider end-of-defun-moves-to-eol and long_line_optimizations_p two additional states that multiply the number of possible outcomes by 4. And obfuscatory. Just answering your question. It's not clear why you asked since my responses have always been gibberish to you. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 15 03:06:39 2022 Received: (at 57212) by debbugs.gnu.org; 15 Aug 2022 07:06:39 +0000 Received: from localhost ([127.0.0.1]:40509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNUBL-0005Q4-6Z for submit@debbugs.gnu.org; Mon, 15 Aug 2022 03:06:39 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNUBJ-0005Pr-Me for 57212@debbugs.gnu.org; Mon, 15 Aug 2022 03:06:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=i1p7e7pPSa6TRVQSAEW60Bgq9pBzqaztMoF9zlXcTZI=; b=T637ST3Hlm8L5SX7kNwyR16xXF fVkY+FbeWPupmLTh+F6k6lOoW52TNEBVO/N/MDxkVI8cyC4/pnWtb1OXvbF8weKUqtts0DvVOORgt hGrKjhOgbgLJAEb+MMjsZ748H16a7CHPH5GAXeU34cG6xDWbqu5USfi1cWbVUT1HvpH4=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oNUBB-0004ku-JG; Mon, 15 Aug 2022 09:06:31 +0200 From: Lars Ingebrigtsen To: dick.r.chiang@gmail.com Subject: Re: bug#57212: 29.0.50; [PATCH] Citizen's arrest of end-of-defun-moves-to-eol In-Reply-To: <87k07au2i8.fsf@dick> (dick r. chiang's message of "Sun, 14 Aug 2022 14:02:55 -0400") References: <87k07au2i8.fsf@dick> X-Now-Playing: Aksak Maboul's _Un Peu De L'Ame Des Bandits_: "Geistige Nacht" Date: Mon, 15 Aug 2022 09:06:29 +0200 Message-ID: <87wnbaasui.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 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 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57212 Cc: 57212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 15 03:06:45 2022 Received: (at control) by debbugs.gnu.org; 15 Aug 2022 07:06:45 +0000 Received: from localhost ([127.0.0.1]:40512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNUBR-0005QQ-EY for submit@debbugs.gnu.org; Mon, 15 Aug 2022 03:06:45 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNUBP-0005Py-Dk for control@debbugs.gnu.org; Mon, 15 Aug 2022 03:06:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=I5HNt1P8Ipi4d7dHDOQ77N61A9v3BhVE4Ib0NI1FLVE=; b=hf4lUN9uwfCgD1h+XoOLWOVsNy HNJR3dDaLJHT/zsrDVLqIxsVwTsxY3xdrSwmSdwLBCrN3B2bU9jJNCu4nchyTVgkf/ZSvlzH2J15E FooFysWk1HNd0S5xtYVl8KXTQEqui32X76/v4E3N2TCvU4BV6aQRI79cYKtqCB0/l7DI=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oNUBH-0004l2-IA for control@debbugs.gnu.org; Mon, 15 Aug 2022 09:06:37 +0200 Date: Mon, 15 Aug 2022 09:06:35 +0200 Message-Id: <87v8quasuc.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #57212 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 57212 notabug close 57212 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 57212 notabug close 57212 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 15 15:44:34 2022 Received: (at 57212) by debbugs.gnu.org; 15 Aug 2022 19:44:35 +0000 Received: from localhost ([127.0.0.1]:44113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNg0o-0005A7-Lx for submit@debbugs.gnu.org; Mon, 15 Aug 2022 15:44:34 -0400 Received: from heytings.org ([95.142.160.155]:54632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNg0n-0005A0-4X for 57212@debbugs.gnu.org; Mon, 15 Aug 2022 15:44:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1660592672; bh=J+MhZVu5234LbPM4umP2+VViIces34BizTlW1FzGtH8=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=ad/2aDDzke+lIz6v2sBvF0/y17WKgyhnL6naETinO5G9htUdHuMZVxUbsJqQ49g+q NRsOwszTWkEojs6BwQkVz4hq0xwGF/qHdSxsDN+DrWWFTbjHHtsjQc9AtMgKPS6aH+ PWPxTelVuv2+yXO40zt5MsVNd/zHlBD8r4W78SXbsNuh49CGIMp99/52qANyJdy2wQ /fGp8dlbsfHI0s8KQJzFP6J/IomS99DyUKbYyzlliyB1WP3ZPXGOmIz+LY5TgtRFHb 4E2pejNZhrBjX10xW5N1enyLkJ49ALoBfp5fa9Zjp3Rjh9MIJ4BAhiXCLJDBK//B9w 0aoRPaTCVqnEg== Date: Mon, 15 Aug 2022 19:44:32 +0000 From: Gregory Heytings To: dick.r.chiang@gmail.com Subject: Re: bug#57212: 29.0.50; [PATCH] Citizen's arrest of end-of-defun-moves-to-eol In-Reply-To: <87k07au2i8.fsf@dick> Message-ID: <3a1232a17bcbf1cba5cc@heytings.org> References: <87k07au2i8.fsf@dick> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57212 Cc: 57212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > > If you're convinced narrowing within a critical section of redisplay is > safe (and I suspect it is), do it all the time, not just when > "long_line_optimizations_p" is true. > That might indeed be what Emacs could do in the long term, once we have enough experience with it. But it is way too soon to do that now. FYI, you can already do it unconditionally by setting long-line-threshold to 0. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 15 22:30:27 2022 Received: (at 57212) by debbugs.gnu.org; 16 Aug 2022 02:30:27 +0000 Received: from localhost ([127.0.0.1]:44424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNmLb-0006jP-12 for submit@debbugs.gnu.org; Mon, 15 Aug 2022 22:30:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNmLZ-0006j3-Vp for 57212@debbugs.gnu.org; Mon, 15 Aug 2022 22:30:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42260) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNmLU-0003JR-GU; Mon, 15 Aug 2022 22:30:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=cYBA6yzHaTn3szvQoSeS6kLQVrnyBivADYCcxLoIrMY=; b=C8eK7ygCEvL+ Miu6q9+g4uMO5yzvzHPh3lvDn3g+sA4pGIrss3RFUnRSKx5/x0bLbuVYWXAOwdvUWXvMurLBXo/zl H5GIpAYdMGpbNlY/+E1FK5X2akyOL4K7rcmKJEHmLaZdM+6alME93EkhOf8JttsDY5jHDbqDh2sfF rbyrO9iGIZz3StX7ka3vElEwov+4BdMz1jMHWpnS8k+z+SwBCCUwqI6rTLnGNtf/DZk7xL/+7/Mt1 Wzy+dVcOqVdu5t+Xxif0IDQ+qFvq0V0fNoEN1x6FdHoYdjMEdDfmxFXJZCk+rr0VKm/O4BghTXgJX LH1LrcjVIBIhv1I6T1NZgA==; Received: from [87.69.77.57] (port=2287 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNmLK-0003B5-SI; Mon, 15 Aug 2022 22:30:19 -0400 Date: Tue, 16 Aug 2022 05:29:59 +0300 Message-Id: <83czd0hqe0.fsf@gnu.org> From: Eli Zaretskii To: Gregory Heytings In-Reply-To: <3a1232a17bcbf1cba5cc@heytings.org> (message from Gregory Heytings on Mon, 15 Aug 2022 19:44:32 +0000) Subject: Re: bug#57212: 29.0.50; [PATCH] Citizen's arrest of end-of-defun-moves-to-eol References: <87k07au2i8.fsf@dick> <3a1232a17bcbf1cba5cc@heytings.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57212 Cc: 57212@debbugs.gnu.org, dick.r.chiang@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 57212@debbugs.gnu.org > Date: Mon, 15 Aug 2022 19:44:32 +0000 > From: Gregory Heytings > > > If you're convinced narrowing within a critical section of redisplay is > > safe (and I suspect it is), do it all the time, not just when > > "long_line_optimizations_p" is true. > > That might indeed be what Emacs could do in the long term, once we have > enough experience with it. No, it shouldn't, because of the adverse effects of that on some aspects of the Emacs behavior. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 16 04:14:49 2022 Received: (at 57212) by debbugs.gnu.org; 16 Aug 2022 08:14:50 +0000 Received: from localhost ([127.0.0.1]:44703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNrir-0007Gg-KJ for submit@debbugs.gnu.org; Tue, 16 Aug 2022 04:14:49 -0400 Received: from heytings.org ([95.142.160.155]:55370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNrip-0007GY-VT for 57212@debbugs.gnu.org; Tue, 16 Aug 2022 04:14:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1660637687; bh=3Xy0Sk5tP4GobE5yRGLlkosPVVX32Ne1PyiVZD7Og14=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=Mw6TuLWIhKdCKfz0zFzggho42NXn3xwRfZ4ZVvAOfBRTaTDnitrWlsM2wxSIdV5zC IOu7E9qX8VdMjMIszNv6ms2eIBmEJB5ppBKuCdemO4VDPpd28s06fz6dQlfjySqw/b QTmsFBioJYTPA/WKN7G7DdoCLz+KLGCyo0FLyVLS8sTHe7uIw9tR7TQcoZWA3qWGFX EaJWxhHOLQtUhl+6A7H0BNt9VZ7WfGjJ6DINQ0UOsLABsBcyYg9LWzqUvwqbM3adYG i5DC6Lb92jExQCUSyEPybEvys3Kp5OYZbJXGneJh+RT7cJrMpGaPteHUYjx+/yBg8v //yPYOUQs/wig== Date: Tue, 16 Aug 2022 08:14:46 +0000 From: Gregory Heytings To: Eli Zaretskii Subject: Re: bug#57212: 29.0.50; [PATCH] Citizen's arrest of end-of-defun-moves-to-eol In-Reply-To: <83czd0hqe0.fsf@gnu.org> Message-ID: <325f95fd2be1f7d43efb@heytings.org> References: <87k07au2i8.fsf@dick> <3a1232a17bcbf1cba5cc@heytings.org> <83czd0hqe0.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57212 Cc: 57212@debbugs.gnu.org, dick.r.chiang@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>> If you're convinced narrowing within a critical section of redisplay >>> is safe (and I suspect it is), do it all the time, not just when >>> "long_line_optimizations_p" is true. >> >> That might indeed be what Emacs could do in the long term, once we have >> enough experience with it. > > No, it shouldn't, because of the adverse effects of that on some aspects > of the Emacs behavior. > Indeed. I should have added something like "if we find a way to cope with these adverse effects". From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 16 08:59:59 2022 Received: (at 57212) by debbugs.gnu.org; 16 Aug 2022 12:59:59 +0000 Received: from localhost ([127.0.0.1]:45258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNwAp-0000To-8y for submit@debbugs.gnu.org; Tue, 16 Aug 2022 08:59:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNwAm-0000Tb-SW for 57212@debbugs.gnu.org; Tue, 16 Aug 2022 08:59:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50044) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNwAh-0006jX-Cm; Tue, 16 Aug 2022 08:59:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+8n82mULdVBxQe3VHyRJpyN7RDyoQibIOsCOGmwmliw=; b=NjqVeulqsp3k B/xCUJRBZLY+BvtK8OasHe4vmKff9qz/GgkYxaQ5U/gGXqA0Bwp+R51bNOTrAPEmWQ7pDraS40OuK qYUv8uT8irHbNmGctmfMS+7ZfGF2Pn3W3lmXNoroiR9iNA8lc7uNfiFK9N0J8eDv3V4QWradyhBPk gabDea9Awem7DYGeUjtyA5DvTOarnUR4xq/eh4a++ddESyvQ38oL1jDuUOFPSl3Mlo2J5PPNC+Zd4 n29DCBNu59WhU3lUtAEhtBoxtMD/xEYrSfJF7YO67lVSLywK0i/b1gEnTtWTtJ7atMl6ZLvBU41W+ xEwPGKLuVAqIGUPKTqw8rQ==; Received: from [87.69.77.57] (port=4861 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNwAg-0006V2-Rc; Tue, 16 Aug 2022 08:59:51 -0400 Date: Tue, 16 Aug 2022 15:59:39 +0300 Message-Id: <83h72cfio4.fsf@gnu.org> From: Eli Zaretskii To: Gregory Heytings In-Reply-To: <325f95fd2be1f7d43efb@heytings.org> (message from Gregory Heytings on Tue, 16 Aug 2022 08:14:46 +0000) Subject: Re: bug#57212: 29.0.50; [PATCH] Citizen's arrest of end-of-defun-moves-to-eol References: <87k07au2i8.fsf@dick> <3a1232a17bcbf1cba5cc@heytings.org> <83czd0hqe0.fsf@gnu.org> <325f95fd2be1f7d43efb@heytings.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57212 Cc: 57212@debbugs.gnu.org, dick.r.chiang@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Tue, 16 Aug 2022 08:14:46 +0000 > From: Gregory Heytings > cc: dick.r.chiang@gmail.com, 57212@debbugs.gnu.org > > >>> If you're convinced narrowing within a critical section of redisplay > >>> is safe (and I suspect it is), do it all the time, not just when > >>> "long_line_optimizations_p" is true. > >> > >> That might indeed be what Emacs could do in the long term, once we have > >> enough experience with it. > > > > No, it shouldn't, because of the adverse effects of that on some aspects > > of the Emacs behavior. > > Indeed. I should have added something like "if we find a way to cope with > these adverse effects". I agree, but I have hard time imagining that miracle, not without completely redesigning the display engine (and maybe some other parts of Emacs, like buffer text) based on very different principles. Most of the "optimizations" we made are actually shortcuts which ignore certain aspects of display that we decided were less important than reasonable response time. From unknown Sun Jun 22 00:57:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 14 Sep 2022 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator