all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <incal@dataswamp.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Making Menu Bar with an About Buffer
Date: Mon, 24 Oct 2022 04:54:07 +0200	[thread overview]
Message-ID: <87wn8qj5io.fsf@dataswamp.org> (raw)
In-Reply-To: 25427.63676.222726.714691@tux.local

Dr Rainer Woitok wrote:

>>>    (cond ((string= what "about:hyperscope") (hyperscope-text-view "
>>> 	 ===================================================
>>> 	 Hyperscope - Dynamic Knowledge Repository for Emacs
>>> 	 ===================================================
>>>                            about:emacs
>>>                            about:emacs-fancy
>>>                            about:hyperscope
>>> "))
>> 
>> What, it looks like that in the source?
>> 
>> That could be automated with variables and not hardcoded ...
>
> Don't you think its better to use electrons ONCE when this
> string is de- signed rather than EVERYTIME when someone is
> looking at it?

Nope, because that also means instead of doing it once and
forever getting it right everytime someone does it we will
have the same (poor) situation ...

And, if you are concerned for the electrons, a program can
store the result in a variable once just as well as any human
can storing it in hard-coded code (actually better, because
then checks can be made the input makes sense).

-- 
underground experts united
https://dataswamp.org/~incal




      reply	other threads:[~2022-10-24  2:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-16 21:36 Making Menu Bar with an About Buffer Heime via Users list for the GNU Emacs text editor
2022-10-20 21:09 ` Jean Louis
2022-10-21  3:05   ` Emanuel Berg
2022-10-22 14:05     ` Dr Rainer Woitok
2022-10-24  2:54       ` Emanuel Berg [this message]

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=87wn8qj5io.fsf@dataswamp.org \
    --to=incal@dataswamp.org \
    --cc=help-gnu-emacs@gnu.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.