all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: larsi@gnus.org, 58193@debbugs.gnu.org
Subject: bug#58193: 29.0.50; Screen flickers on with-locale-environment
Date: Tue, 4 Oct 2022 08:10:57 +0200	[thread overview]
Message-ID: <CAO48Bk_ixHp2X-8HLSX2NOsNeaCz0r4mOWwAHA+bcNQAjpgWxw@mail.gmail.com> (raw)
In-Reply-To: <83k05gyfu8.fsf@gnu.org>

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

Hmmm.... that is not what I understand from 3.6 in the Introduction to
Emacs Lisp Programming.
If you read the section, it talks about 'local variables'.
Depending on you programming background, local may be different from
local...
I have always understood local as variable that has a meaning within a
context and if I happen to use the name of a global variable that is used
in the system, then bad luck. It would be nice to say that when you put a
variable like system-time-locale in a let, the global variable's value is
'pushed' and will be recovered once you leave the let-binding. Just to make
sure there is no misunderstanding.

I'll try to see how to tackle this in the elisp Introduction and will
propose a patch.

Anyhow, better late than never :-) that's what I like, always learning
something new.

Best, /PA

On Mon, 3 Oct 2022 at 19:31, Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> > Date: Mon, 3 Oct 2022 18:47:45 +0200
> > Cc: larsi@gnus.org, 58193@debbugs.gnu.org
> >
> > BTW am I missing something .. would your let just change the value of
> system-time-locale in the body of the
> > let and then restore it to its original value?
>
> Yes, that's the general feature of let-binding.
>


-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet

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

  reply	other threads:[~2022-10-04  6:10 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-30 13:05 bug#58193: 29.0.50; Screen flickers on with-locale-environment Pedro Andres Aranda Gutierrez
2022-09-30 13:50 ` Eli Zaretskii
2022-09-30 14:14 ` Lars Ingebrigtsen
2022-09-30 15:43   ` Pedro Andres Aranda Gutierrez
2022-09-30 16:31     ` Lars Ingebrigtsen
2022-10-01  7:26       ` Pedro Andres Aranda Gutierrez
2022-10-01  9:57         ` Lars Ingebrigtsen
2022-09-30 17:31   ` Eli Zaretskii
2022-09-30 17:34     ` Lars Ingebrigtsen
2022-09-30 17:40       ` Eli Zaretskii
2022-09-30 17:43         ` Lars Ingebrigtsen
2022-09-30 18:34           ` Eli Zaretskii
2022-10-01  6:14             ` Pedro Andres Aranda Gutierrez
2022-10-01  7:10               ` Eli Zaretskii
2022-10-01  7:23                 ` Pedro Andres Aranda Gutierrez
2022-10-01  7:33                   ` Eli Zaretskii
2022-10-01  8:19                     ` Pedro Andres Aranda Gutierrez
2022-10-01  9:10                       ` Eli Zaretskii
2022-10-01 10:46                     ` Pedro Andres Aranda Gutierrez
2022-10-01 12:05                       ` Lars Ingebrigtsen
2022-10-01 13:33                         ` Pedro Andres Aranda Gutierrez
2022-10-02 11:58                           ` Lars Ingebrigtsen
2022-10-03  5:37                             ` Pedro Andres Aranda Gutierrez
2022-10-03  9:03                               ` Lars Ingebrigtsen
2022-10-03 16:38                               ` Eli Zaretskii
2022-10-03 16:47                                 ` Pedro Andres Aranda Gutierrez
2022-10-03 17:30                                   ` Eli Zaretskii
2022-10-04  6:10                                     ` Pedro Andres Aranda Gutierrez [this message]
2022-10-01  9:56             ` Lars Ingebrigtsen
2022-10-01  9:57               ` Lars Ingebrigtsen
2022-10-01 10:01               ` Eli Zaretskii
2022-10-01 10:12                 ` Pedro Andres Aranda Gutierrez
2022-10-02 11:57                 ` Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=CAO48Bk_ixHp2X-8HLSX2NOsNeaCz0r4mOWwAHA+bcNQAjpgWxw@mail.gmail.com \
    --to=paaguti@gmail.com \
    --cc=58193@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.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 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.