Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

BYTE editors are people who separate the wheat from the chaff, and then carefully print the chaff.


computers / alt.os.linux.slackware / Re: emacs question (version 28.2 versus 27.2)

SubjectAuthor
* emacs question (version 28.2 versus 27.2)John Forkosh
`* Re: emacs question (version 28.2 versus 27.2)Javier
 `* Re: emacs question (version 28.2 versus 27.2)John Forkosh
  `* Re: emacs question (version 28.2 versus 27.2)John Forkosh
   `* Re: emacs question (version 28.2 versus 27.2)Javier
    `* Re: emacs question (version 28.2 versus 27.2)John Forkosh
     `* Re: emacs question (version 28.2 versus 27.2)Javier
      `* Re: emacs question (version 28.2 versus 27.2)Eric Pozharski
       `- Re: emacs question (version 28.2 versus 27.2)Javier

1
emacs question (version 28.2 versus 27.2)

<tvgito$3jo$1@reader2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1741&group=alt.os.linux.slackware#1741

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix3.panix.com!not-for-mail
From: fork...@panix.com (John Forkosh)
Newsgroups: alt.os.linux.slackware
Subject: emacs question (version 28.2 versus 27.2)
Date: Thu, 23 Mar 2023 04:00:56 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <tvgito$3jo$1@reader2.panix.com>
Injection-Date: Thu, 23 Mar 2023 04:00:56 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix3.panix.com:166.84.1.3";
logging-data="3704"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.6.0-20210823 ("Coleburn") (NetBSD/9.3 (amd64))
 by: John Forkosh - Thu, 23 Mar 2023 04:00 UTC

I recently installed slackware64-current with emacs version 28.2,
versus my previous install with version 27.2. And like you already
guessed, they're behaving a little differently. My ~/.emacs file
has, among other things (the entire 64-line file is reproduced
below, just in case there's some "interaction" causing the problem),
(setq blink-matching-paren nil)
to turn off blinking matching (xxx)'s and {xxx}'s, etc.
And that had been working fine under 27.2. But now, under 28.2,
they all blink, though the other setq's seem to be continuing
to work as intended (i.e., emacs is reading my ~/.emacs file).
Also, as a further test, since my earlier slackware is still
intact on another partition, I cp'ed all its /usr/bin/emacs,
/usr/share/emacs/27.2/ and /usr/libexec/emacs/27.2/ stuff
over to my new /usr directory, and flipped the /usr/bin/emacs
symlink to emacs-27.2-with-x11. And that >>doesn't<< blink,
just like I want.

So why's version 28.2 blinking, and how can I stop it???
I tried (blink-cursor-mode 0) in ~/.emacs, but no luck.
Below's my entire 64-line (now 65 with that additional
blink-cursor-mode 0) ~/.emacs file, which pretty much just
turns off everything. I basically just found it somewhere
on the web, but don't recall where, and don't really
understand it very well (just what's easy to infer from
the syntax)...

(setq major-mode 'text-mode)
(setq auto-mode-alist '(("." . text-mode)))
(setq make-backup-files nil) ;;; no backup files
(setq auto-save-default nil) ;;; no auto saving

(setq scroll-step 1)
(setq scroll-margin 0)
(setq scroll-preserve-screen-position 't) ;;; scroll without moving cursor
(setq scroll-conservatively 10000) ;;; (0 or 10000 seems same)
(setq auto-window-vscroll nil)
(setq scroll-up nil)
(setq scroll-down nil)
(setq scroll-up-aggressively nil) ;;; used to be .01
(setq scroll-down-aggressively nil) ;;; used to be .01
;;; (setq track-eol nil) ;;; cursor doesn't track end-of-line
(setq next-screen-context-lines 0)
(mouse-wheel-mode 't) ;;; mouse-wheel enabled
;;; (setq mouse-wheel-scroll-amount '(1 ((shift) . 1))) ;;; 1 line at a time
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1) ((control) . nil)))
;;; (setq mouse-wheel-progressive-speed nil)
(setq mouse-wheel-follow-mouse 't) ;;; scroll window under mouse
;;;;; -- <mouse-4> and <mouse-5> commented to permit line-by-line scrolling
;; (global-set-key (kbd "<mouse-4>") 'scroll-down-command)
;; (global-set-key (kbd "<mouse-5>") 'scroll-up-command)
;;; (scroll-bar-mode -1) ;;; no scroll bar displayed at all
(setq indent-tabs-mode nil)
;;; see http://emacs.stackexchange.com/questions/
;;; 14297/completely-disable-all-auto-indentation
(global-set-key "\C-j" 'newline) ;;; disable auto-indent? emacs <=24.3
(electric-indent-mode 0) ;;; disable auto-indent? emacs >=24.4
(setq blink-matching-paren nil)
(blink-cursor-mode 0)
(setq column-number-mode 't)
(setq size-indication-mode 't)

;;; open with single window
(setq inhibit-startup-screen 't)
(add-hook 'emacs-startup-hook 'delete-other-windows)

;;; initial frame width,height,position
(set-frame-width (selected-frame) 80) ; #chars wide
(set-frame-height (selected-frame) 52) ; #lines ling
(set-frame-position (selected-frame) 10 10 ) ; x y from upper-left

;;; insert tab character
(defun insert-tab ()
(interactive)
(insert "\t"))
;;; (insert " "))
(global-unset-key [tab])
(global-set-key (kbd "TAB") 'insert-tab)
;;; --- end-of-file ---
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(column-number-mode t)
'(size-indication-mode t))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:family "DejaVu Sans Mono" :foundry "unknown" :slant normal :weight normal :height 120 :width normal)))))

--
John Forkosh ( mailto: j@f.com where j=john and f=forkosh )

Re: emacs question (version 28.2 versus 27.2)

<MSadndLmbZ8_GIH5nZ2dnZfqn_GdnZ2d@brightview.co.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1745&group=alt.os.linux.slackware#1745

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 23 Mar 2023 17:00:18 +0000
From: inva...@invalid.invalid (Javier)
Subject: Re: emacs question (version 28.2 versus 27.2)
Newsgroups: alt.os.linux.slackware
References: <tvgito$3jo$1@reader2.panix.com>
Message-ID: <MSadndLmbZ8_GIH5nZ2dnZfqn_GdnZ2d@brightview.co.uk>
Date: Thu, 23 Mar 2023 17:00:18 +0000
Lines: 16
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-KA2DQpqFxkaE5YMd5jkZnini9Yv/PklKZGx/hXZtM3ANbX2ENvY143i5IF6+7roz24OUzrIbkpxvWK7!snPpNK6tExYo+r/8kLKeMkNEu5W5NIOwTXABQD4lPzEr8Er/3qJsUjFr3XT5lewUAZ1OHtVq4D6d!dDjm2W/1jaXzUP73a31wkD0IrTDH
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Javier - Thu, 23 Mar 2023 17:00 UTC

John Forkosh <forkosh@panix.com> wrote:
> So why's version 28.2 blinking, and how can I stop it???
> I tried (blink-cursor-mode 0) in ~/.emacs, but no luck.
> Below's my entire 64-line (now 65 with that additional
> blink-cursor-mode 0) ~/.emacs file, which pretty much just
> turns off everything. I basically just found it somewhere
> on the web, but don't recall where, and don't really
> understand it very well (just what's easy to infer from
> the syntax)...

Are you having the problem in X11 or in terminal (ie. emacs -nw)?

If the problem happens in graphical mode it would also good to know
the toolkit and the options at compilation-time

C-h v system-configuration-options

Re: emacs question (version 28.2 versus 27.2)

<tvlsp4$9un$1@reader2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1754&group=alt.os.linux.slackware#1754

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix3.panix.com!not-for-mail
From: fork...@panix.com (John Forkosh)
Newsgroups: alt.os.linux.slackware
Subject: Re: emacs question (version 28.2 versus 27.2)
Date: Sat, 25 Mar 2023 04:19:48 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <tvlsp4$9un$1@reader2.panix.com>
References: <tvgito$3jo$1@reader2.panix.com> <MSadndLmbZ8_GIH5nZ2dnZfqn_GdnZ2d@brightview.co.uk>
Injection-Date: Sat, 25 Mar 2023 04:19:48 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix3.panix.com:166.84.1.3";
logging-data="10199"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.6.0-20210823 ("Coleburn") (NetBSD/9.3 (amd64))
 by: John Forkosh - Sat, 25 Mar 2023 04:19 UTC

Javier <invalid@invalid.invalid> wrote:
> John Forkosh <forkosh@panix.com> wrote:
>> So why's version 28.2 blinking, and how can I stop it???
>> I tried (blink-cursor-mode 0) in ~/.emacs, but no luck.
>> Below's my entire 64-line (now 65 with that additional
>> blink-cursor-mode 0) ~/.emacs file, which pretty much just
>> turns off everything. I basically just found it somewhere
>> on the web, but don't recall where, and don't really
>> understand it very well (just what's easy to infer from
>> the syntax)...
>
> Are you having the problem in X11 or in terminal (ie. emacs -nw)?

Thanks for the reply, Javier... In X11. I'd never used terminal,
but since you mentioned it, I tried: 28.2 -nw blinks matching {}
braces, but doesn't blink matching () parens, whereas X11 blinks
both. Weird. Go figure.

> If the problem happens in graphical mode it would also good to know
> the toolkit and the options at compilation-time
> C-h v system-configuration-options

I have both 27.2 and 28.2 running, i.e., /usr/bin/ has
emacs -> emacs-with-x11
emacs-27.2-no-x11
emacs-27.2-with-x11
emacs-28.2-no-x11
emacs-28.2-with-x11
emacs-no-x11 -> emacs-28.2-no-x11
emacs-with-x11 -> emacs-28.2-with-x11
(and /usr/share/emacs/ and /usr/libexec/emacs/ have both
27.2 and 28.2 subdirectories)
and I just flip the /usr/bin/emacs-with-x11 symlink to 27.2
to stop the bleeping blinking ("bleeping" being a euphemism:).

So I ran C-h v system-configuration-options for both...
--------------------------------------------------------------------
27.2
--------------------------------------------------------------------
system-configuration-options is a variable defined in 'C source code'.
Its value is
"--prefix=/usr --sysconfdir=/etc --localstatedir=/var
--program-prefix= --program-suffix= --mandir=/usr/man
--infodir=/usr/info --without-gconf --without-gsettings
--with-modules --with-x --with-x-toolkit=gtk3 --with-pdumper=no
--with-dumping=unexec --build=x86_64-slackware-linux 'CFLAGS=-O2 -fPIC'"
Documentation:
String containing the configuration options Emacs was built with.
--------------------------------------------------------------------
28.2
--------------------------------------------------------------------
system-configuration-options is a variable defined in 'C source code'.
Its value is
"--prefix=/usr --sysconfdir=/etc --localstatedir=/var
--program-prefix= --program-suffix= --mandir=/usr/man
--infodir=/usr/info --without-gconf --without-gsettings
--with-modules --with-x --with-x-toolkit=gtk3 --with-pdumper=no
--with-dumping=unexec --build=x86_64-slackware-linux 'CFLAGS=-O2 -fPIC'"
String containing the configuration options Emacs was built with.

I inserted some linebreaks for readability, and they look identical,
save the little penultimate "Documentation:" line in 27.2 that seems
to have been removed in 28.2.
--
John Forkosh ( mailto: j@f.com where j=john and f=forkosh )

Re: emacs question (version 28.2 versus 27.2)

<tvmguk$t44$1@reader2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1758&group=alt.os.linux.slackware#1758

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix3.panix.com!not-for-mail
From: fork...@panix.com (John Forkosh)
Newsgroups: alt.os.linux.slackware
Subject: Re: emacs question (version 28.2 versus 27.2)
Date: Sat, 25 Mar 2023 10:04:04 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <tvmguk$t44$1@reader2.panix.com>
References: <tvgito$3jo$1@reader2.panix.com> <MSadndLmbZ8_GIH5nZ2dnZfqn_GdnZ2d@brightview.co.uk> <tvlsp4$9un$1@reader2.panix.com>
Injection-Date: Sat, 25 Mar 2023 10:04:04 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix3.panix.com:166.84.1.3";
logging-data="29828"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.6.0-20210823 ("Coleburn") (NetBSD/9.3 (amd64))
 by: John Forkosh - Sat, 25 Mar 2023 10:04 UTC

John Forkosh <forkosh@panix.com> wrote:
> Javier <invalid@invalid.invalid> wrote:
>>
>> Are you having the problem in X11 or in terminal (ie. emacs -nw)?
>
> Thanks for the reply, Javier... In X11. I'd never used terminal,
> but since you mentioned it, I tried: 28.2 -nw blinks matching {}
> braces, but doesn't blink matching () parens, whereas X11 blinks
> both. Weird. Go figure.
>
>> If the problem happens in graphical mode it would also good to know
>> the toolkit and the options at compilation-time
>> C-h v system-configuration-options
>
> I have both 27.2 and 28.2 running, i.e., /usr/bin/ has
> emacs -> emacs-with-x11
> emacs-27.2-no-x11
> emacs-27.2-with-x11
> emacs-28.2-no-x11
> emacs-28.2-with-x11
> emacs-no-x11 -> emacs-28.2-no-x11
> emacs-with-x11 -> emacs-28.2-with-x11
> (and /usr/share/emacs/ and /usr/libexec/emacs/ have both
> 27.2 and 28.2 subdirectories)
> and I just flip the /usr/bin/emacs-with-x11 symlink to 27.2
> to stop the bleeping blinking ("bleeping" being a euphemism:).

I tried another test to see whether any of the many elisp
files used by emacs has any effect (it apparently doesn't).
In /usr/share/emacs/ I now have
27.2 -> 27.2_dir/
27.2_dir
28.2 -> 28.2_dir/
28.2_dir
site-lisp -> site-lisp-28.2_dir/
site-lisp-27.2_dir
site-lisp-28.2_dir
where the _dir's contain the actual files for 27.2 and 28.2,
and I can flip the symlinks any which way I like. So I pointed
those to 28.2 as shown, and similarly for the subdirectories
under /usr/libexec/emacs/. But in /usr/bin/ I have
emacs-with-x11 -> emacs-27.2-with-x11
whereby I'm running 27.2 with all the 28.2 elisp stuff.
And the result is ... no blinking. So any differences
in the elisp stuff between 27.2 and 28.2 is apparently
not responsible for the behavior.
--
John Forkosh ( mailto: j@f.com where j=john and f=forkosh )

Re: emacs question (version 28.2 versus 27.2)

<iQidnWEP4JCDG735nZ2dnZfqn_udnZ2d@brightview.co.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1771&group=alt.os.linux.slackware#1771

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 26 Mar 2023 17:51:26 +0000
From: inva...@invalid.invalid (Javier)
Subject: Re: emacs question (version 28.2 versus 27.2)
Newsgroups: alt.os.linux.slackware
References: <tvgito$3jo$1@reader2.panix.com> <MSadndLmbZ8_GIH5nZ2dnZfqn_GdnZ2d@brightview.co.uk> <tvlsp4$9un$1@reader2.panix.com> <tvmguk$t44$1@reader2.panix.com>
Message-ID: <iQidnWEP4JCDG735nZ2dnZfqn_udnZ2d@brightview.co.uk>
Date: Sun, 26 Mar 2023 17:51:26 +0000
Lines: 28
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-IDm3OT0umzmUX1xvikcrRRsaKvzOqGJIb5wykGpDJxxj8fhFKk3k/sm0mR/L213twF/qMQYFRIssfSt!9b7+orsKbauE+wQaiV8tKhjlvydGviGAeggi3Sq4xi6tOveCdQR+g3+gGyOzp2AaDLq+cIYkWB7b!ahOaOEIRS1EQ5kSRystZDPCOujnB
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Javier - Sun, 26 Mar 2023 17:51 UTC

John Forkosh <forkosh@panix.com> wrote:
> And the result is ... no blinking. So any differences
> in the elisp stuff between 27.2 and 28.2 is apparently
> not responsible for the behavior.

Very clever. You have demonstrated that the bug is harcoded in C.

This disables the feature for me in emacs 28.0

(setq blink-matching-paren-distance 0)

Also see:

M-: (info "(emacs) Matching")

Also:

The blinking paren feature is useful. It prevents syntax errors.
I keep the feature enabled myself.

BTW I don't recomend gtk3 toolkit. Use lucid instead, it matches
better the Slackware philosophy. gtk3 toolkit changes appearance too
offen and has more bugs. But that is unrelated to blinking parens.

../configure --with-x-toolkit=lucid --prefix=${HOME}/local ; make ; make install

Re: emacs question (version 28.2 versus 27.2)

<tvr7bn$im7$1@reader2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1773&group=alt.os.linux.slackware#1773

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix3.panix.com!not-for-mail
From: fork...@panix.com (John Forkosh)
Newsgroups: alt.os.linux.slackware
Subject: Re: emacs question (version 28.2 versus 27.2)
Date: Mon, 27 Mar 2023 04:51:03 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <tvr7bn$im7$1@reader2.panix.com>
References: <tvgito$3jo$1@reader2.panix.com> <MSadndLmbZ8_GIH5nZ2dnZfqn_GdnZ2d@brightview.co.uk> <tvlsp4$9un$1@reader2.panix.com> <tvmguk$t44$1@reader2.panix.com> <iQidnWEP4JCDG735nZ2dnZfqn_udnZ2d@brightview.co.uk>
Injection-Date: Mon, 27 Mar 2023 04:51:03 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix3.panix.com:166.84.1.3";
logging-data="19143"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.6.0-20210823 ("Coleburn") (NetBSD/9.3 (amd64))
 by: John Forkosh - Mon, 27 Mar 2023 04:51 UTC

Javier <invalid@invalid.invalid> wrote:
> John Forkosh <forkosh@panix.com> wrote:
>> And the result is ... no blinking. So any differences
>> in the elisp stuff between 27.2 and 28.2 is apparently
>> not responsible for the behavior.
>
> Very clever. You have demonstrated that the bug is harcoded in C.

Yeah, and I apparently posted the question in the wrong newsgroup
to begin with. I'd originally figured any such source code bug
would have quickly been detected (I'd thought lots of people would
notice they couldn't disable blinking) and then quickly fixed.
So I naively guessed the problem's some kind of slackware
configuration issue. That did seem a bit odd, but so did
everything else I could think of -- a possible elisp issue only
occurred to me after googling mentioned it, which was after I'd
already posted the question here.

> This disables the feature for me in emacs 28.0
> (setq blink-matching-paren-distance 0)

Thanks so much, Javier. That immediately stopped the blinking.
Don't know emacs internals all that well, and never would have
thought of that myself.

> Also see:
> M-: (info "(emacs) Matching")

And thanks for the pointer to additional documentation.

> Also:
> The blinking paren feature is useful. It prevents syntax errors.
> I keep the feature enabled myself.

Yeah, and sometimes my own C code has lots of nested {{{...}}}'s
which I sometimes have to stop and stare at to keep straight.
But the blinking is just way too distracting for me, personally.
And that inconvenience is way worse that the offsetting convenience,
at least for me.

> BTW I don't recomend gtk3 toolkit. Use lucid instead, it matches
> better the Slackware philosophy. gtk3 toolkit changes appearance too
> offen and has more bugs. But that is unrelated to blinking parens.
> ./configure --with-x-toolkit=lucid --prefix=${HOME}/local ;
> make ; make install

Haven't (yet) noticed any other problems, but I'll give it
a try, building it that way. Then I'll have three targets
for my emacs-with-x11 symlink: -27.2, -28.2, and -28.2-lucid :
"You can never be too rich or too thin, or have too many
versions of emacs."
--
John Forkosh ( mailto: j@f.com where j=john and f=forkosh )

Re: emacs question (version 28.2 versus 27.2)

<laadnV65lOz0H7z5nZ2dnZfqn_adnZ2d@brightview.co.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1774&group=alt.os.linux.slackware#1774

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!69.80.99.22.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 27 Mar 2023 11:47:53 +0000
From: inva...@invalid.invalid (Javier)
Subject: Re: emacs question (version 28.2 versus 27.2)
Newsgroups: alt.os.linux.slackware
References: <tvgito$3jo$1@reader2.panix.com> <MSadndLmbZ8_GIH5nZ2dnZfqn_GdnZ2d@brightview.co.uk> <tvlsp4$9un$1@reader2.panix.com> <tvmguk$t44$1@reader2.panix.com> <iQidnWEP4JCDG735nZ2dnZfqn_udnZ2d@brightview.co.uk> <tvr7bn$im7$1@reader2.panix.com>
Message-ID: <laadnV65lOz0H7z5nZ2dnZfqn_adnZ2d@brightview.co.uk>
Date: Mon, 27 Mar 2023 11:47:53 +0000
Lines: 28
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-aGhKlfRnnFY/etibQKI1jsqt4AJ70WvShjRV9+06pZ1zOXFJr9zFrDbmKbeLn9f9uUdjRsiDgO9Us+R!Hzzvi7dEcKnQiYZNq5H5VZNVmHpJXSsAWl1DaIZxphr0Hd+RGBjAnqygaMcEkmR6I4uy3uLKbahg!ODaCuNguuKIfW0N0CDBlmZSW55Ip
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Javier - Mon, 27 Mar 2023 11:47 UTC

John Forkosh <forkosh@panix.com> wrote:
> Yeah, and I apparently posted the question in the wrong newsgroup
> to begin with.

comp.emacs and gnu.emacs.help tend to be a wasteland nowadays. They
disconnected the mailing list from Usenet. The mailing list is
accessible through NNTP only through the Gmane server.

> I'd originally figured any such source code bug
> would have quickly been detected (I'd thought lots of people would
> notice they couldn't disable blinking) and then quickly fixed.

Most likely no emacs dev noticed it because it's a useful feature and
nobody tries to disable it. But the bug exists and it is hardcoded in C
as you demonstrated.

> So I naively guessed the problem's some kind of slackware
> configuration issue. That did seem a bit odd, but so did
> everything else I could think of -- a possible elisp issue only
> occurred to me after googling mentioned it, which was after I'd
> already posted the question here.

I doubt that Pat does any kind of patching to emacs. In my experience
emacs compiles out of the box everywhere and needs no patching.

What Pat should do is to give the possiblility to use emacs-lucid with
the lucid toolkit instead of GTK. It has less bugs, and is more
consistent through versions than GTK.

Re: emacs question (version 28.2 versus 27.2)

<slrnu2591v.hqb.whynot@orphan.zombinet>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1776&group=alt.os.linux.slackware#1776

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: why...@pozharski.name (Eric Pozharski)
Newsgroups: alt.os.linux.slackware
Subject: Re: emacs question (version 28.2 versus 27.2)
Date: Tue, 28 Mar 2023 08:24:31 +0000
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <slrnu2591v.hqb.whynot@orphan.zombinet>
References: <tvgito$3jo$1@reader2.panix.com>
<MSadndLmbZ8_GIH5nZ2dnZfqn_GdnZ2d@brightview.co.uk>
<tvlsp4$9un$1@reader2.panix.com> <tvmguk$t44$1@reader2.panix.com>
<iQidnWEP4JCDG735nZ2dnZfqn_udnZ2d@brightview.co.uk>
<tvr7bn$im7$1@reader2.panix.com>
<laadnV65lOz0H7z5nZ2dnZfqn_adnZ2d@brightview.co.uk>
Injection-Info: dont-email.me; posting-host="704680dcf6624c5d3aee1f7c6a8881f0";
logging-data="3888420"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Ift+kATXAeNdGVm8j+gOg"
User-Agent: slrn/pre1.0.0-18 (Linux)
Cancel-Lock: sha1:vheLTkDXn0ujOJKn8aecI3gOZNY=
 by: Eric Pozharski - Tue, 28 Mar 2023 08:24 UTC

with <laadnV65lOz0H7z5nZ2dnZfqn_adnZ2d@brightview.co.uk> Javier wrote:
> John Forkosh <forkosh@panix.com> wrote:

*SKIP*
>> So I naively guessed the problem's some kind of slackware
>> configuration issue. That did seem a bit odd, but so did everything
>> else I could think of -- a possible elisp issue only occurred to me
>> after googling mentioned it, which was after I'd already posted the
>> question here.
>
> I doubt that Pat does any kind of patching to emacs. In my experience
> emacs compiles out of the box everywhere and needs no patching.

That's not correct (at time of posting) emacs.SlackBuild contains this
(twice):

90
91 zcat $CWD/d48bb4874bc6cd3e69c7a15fc3c91cc141025c51.patch.gz | patch -p1 --verbose ||
exit 1
92

And another instance of "zczt | patch" a bit later.

> What Pat should do is to give the possiblility to use emacs-lucid with
> the lucid toolkit instead of GTK. It has less bugs, and is more
> consistent through versions than GTK.

Consider breaking free:

117 --with-x \
118 --with-x-toolkit=${X_TOOLKIT:-gtk3} \
119 $PDUMPER \

--
Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom

Re: emacs question (version 28.2 versus 27.2)

<GTmdnTiBY9c_8b75nZ2dnZfqnPWdnZ2d@brightview.co.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1777&group=alt.os.linux.slackware#1777

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!69.80.99.22.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 28 Mar 2023 22:39:30 +0000
From: inva...@invalid.invalid (Javier)
Subject: Re: emacs question (version 28.2 versus 27.2)
Newsgroups: alt.os.linux.slackware
References: <tvgito$3jo$1@reader2.panix.com> <MSadndLmbZ8_GIH5nZ2dnZfqn_GdnZ2d@brightview.co.uk> <tvlsp4$9un$1@reader2.panix.com> <tvmguk$t44$1@reader2.panix.com> <iQidnWEP4JCDG735nZ2dnZfqn_udnZ2d@brightview.co.uk> <tvr7bn$im7$1@reader2.panix.com> <laadnV65lOz0H7z5nZ2dnZfqn_adnZ2d@brightview.co.uk> <slrnu2591v.hqb.whynot@orphan.zombinet>
Message-ID: <GTmdnTiBY9c_8b75nZ2dnZfqnPWdnZ2d@brightview.co.uk>
Date: Tue, 28 Mar 2023 22:39:30 +0000
Lines: 19
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-SBzbuFNl6Hd8Vj0DGaO7CZDF63jZ2BIbItHWXSdmPCIaaPfVRoXE//5SK0lABhPkWJ6oCfI8f7AtI0q!UdzaJVCRDkMx6xbUCYNzydRCYuCLzO2+felZx6QzZsoeFOPXGzfJd/Ykn34PxvH53TnDiFrPdPbD!2wvn6/fz55zuaQ7PoP6jNwU8T2By
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 2142
 by: Javier - Tue, 28 Mar 2023 22:39 UTC

Eric Pozharski <whynot@pozharski.name> wrote:
>> I doubt that Pat does any kind of patching to emacs. In my experience
>> emacs compiles out of the box everywhere and needs no patching.
>
> That's not correct (at time of posting) emacs.SlackBuild contains this
> (twice):
>
> 91 zcat $CWD/d48bb4874bc6cd3e69c7a15fc3c91cc141025c51.patch.gz | patch -p1 --verbose ||
> exit 1

You are right. It's a security patch, for some bug that allowed shell execution from ctags.
Good that Patrick cares about those things.

https://mirrors.slackware.com/slackware/slackware64-current/source/e/emacs/d48bb4874bc6cd3e69c7a15fc3c91cc141025c51.patch.gz

From d48bb4874bc6cd3e69c7a15fc3c91cc141025c51 Mon Sep 17 00:00:00 2001
From: lu4nx <lx@shellcodes.org>
Date: Fri, 25 Nov 2022 14:38:29 +0800
Subject: Fixed ctags local command execute vulnerability

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor