[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use regex in ~/.emacs.d/init.el to match no_proxy.
From: |
Joost Kremers |
Subject: |
Re: Use regex in ~/.emacs.d/init.el to match no_proxy. |
Date: |
Sun, 11 Apr 2021 13:12:50 +0200 |
User-agent: |
mu4e 1.5.11; emacs 27.2 |
On Sun, Apr 11 2021, Hongyi Zhao wrote:
> This is just what I wonder. Why can't we let Emacs use the
> human-readable regexp string representation in its init file?
I guess the reason is "because it hasn't been implemented". There was a
suggestion recently on the emacs-devel mailing list to add a raw syntax or
regexp syntax to the Elisp reader, but nothing came of it.
In your use case, however, what I would do would be to put the call to
`regexp-opt` into my init file, not its return value. That makes it much more
readable and easier to modify if you ever need to.
--
Joost Kremers
Life has its moments
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., (continued)
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., Leo Butler, 2021/04/06
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., Hongyi Zhao, 2021/04/06
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., Gregory Heytings, 2021/04/06
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., Hongyi Zhao, 2021/04/06
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., tomas, 2021/04/07
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., Hongyi Zhao, 2021/04/07
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., Joost Kremers, 2021/04/08
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., Hongyi Zhao, 2021/04/10
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., Joost Kremers, 2021/04/10
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., Hongyi Zhao, 2021/04/10
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy.,
Joost Kremers <=
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., Tim Landscheidt, 2021/04/11
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., Hongyi Zhao, 2021/04/11
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., tomas, 2021/04/11
- RE: [External] : Re: Use regex in ~/.emacs.d/init.el to match no_proxy., Drew Adams, 2021/04/11
- Re: [External] : Re: Use regex in ~/.emacs.d/init.el to match no_proxy., tomas, 2021/04/12
- Re: Use regex in ~/.emacs.d/init.el to match no_proxy., Robert Thorpe, 2021/04/08