Discussion:
Suggestion for a witty Emacs command for a mug?
(too old to reply)
Jeanne Rasata
2018-01-24 18:30:50 UTC
Permalink
Hello, youz,

The FSF is trying to come up with a cool Emacs-related design/theme
for one of the mugs we sell. One idea is to put a witty command on
it. Do you have a suggestion for what could be a witty command, or
sequence of commands? Or maybe something else Emacs-related?
If you do, please let me know!

Thanks for your time.
Sincerely,
j.
Davis Herring
2018-01-24 18:50:05 UTC
Permalink
Post by Jeanne Rasata
Do you have a suggestion for what could be a witty command, or
sequence of commands?
The obvious candidates, in decreasing order of silliness:

0. :q! -- the most important vi command
1. M-x butterfly -- from xkcd
2. C-x # -- finish an emacsclient edit
3. C-x v v -- commit/etc. in version control
4. C-u 0 C-x e -- run macro until error
5. M-: -- transcend the editor

Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.
Alexis
2018-01-24 18:54:52 UTC
Permalink
Post by Jeanne Rasata
The FSF is trying to come up with a cool Emacs-related
design/theme
for one of the mugs we sell. One idea is to put a witty command on
it. Do you have a suggestion for what could be a witty command, or
sequence of commands? Or maybe something else Emacs-related?
If you do, please let me know!
"`t' is truth"? :-)

*sips morning cup of tea*


Alexis.
Ken Olum
2018-01-24 19:33:16 UTC
Permalink
M-x psychoanalyze-pinhead

but I guess it is not supported any more.

Ken
Drew Adams
2018-01-24 20:26:39 UTC
Permalink
Post by Ken Olum
M-x psychoanalyze-pinhead
but I guess it is not supported any more.
Emacs dropped all support of Zippy and other pinheads
a while back unfortunately, apparently out of legal
skittishness.

"Free Zippy!"

http://lists.gnu.org/archive/html/emacs-devel/2006-06/msg00149.html
Marcin Borkowski
2018-01-24 19:35:45 UTC
Permalink
Post by Jeanne Rasata
Hello, youz,
The FSF is trying to come up with a cool Emacs-related design/theme
for one of the mugs we sell. One idea is to put a witty command on
it. Do you have a suggestion for what could be a witty command, or
sequence of commands? Or maybe something else Emacs-related?
If you do, please let me know!
How about this?

C-u in Emacs!

Best,
--
Marcin Borkowski
Paul Eggert
2018-01-24 22:50:53 UTC
Permalink
Post by Marcin Borkowski
C-u in Emacs!
I like it. Building on that, how about repeating it 4 times?

C-u in EEEEmacs!

The 4x repetition could be done graphically as well as textually.
Kaushal Modi
2018-01-24 23:18:51 UTC
Permalink
Post by Paul Eggert
Post by Marcin Borkowski
C-u in Emacs!
I like it. Building on that, how about repeating it 4 times?
C-u in EEEEmacs!
The 4x repetition could be done graphically as well as textually.
+1
--
Kaushal Modi
Dimakakos Dimos
2018-01-24 22:20:26 UTC
Permalink
M-x doctor is nice since coffee is the time when bad thoughts sometimes
get you.
Phil Sainty
2018-01-25 01:59:23 UTC
Permalink
M-x fill-region

with the height of the mug 'selected'.
Marcin Borkowski
2018-01-25 05:29:02 UTC
Permalink
Post by Phil Sainty
M-x fill-region
with the height of the mug 'selected'.
+1
--
Marcin Borkowski
Karl Fogel
2018-01-25 07:14:37 UTC
Permalink
Post by Phil Sainty
M-x fill-region
with the height of the mug 'selected'.
+1
(Re-adding Jeanne Rasata to this thread, so she sees the excellent suggestion above.)

I thought 'M-x butterfly' was a clever one, but yes:

M-x fill-region (with the height of the mug "selected")

takes the cake. Bravo, Phil.

Best regards,
-Karl
Toon Claes
2018-01-25 08:37:19 UTC
Permalink
Post by Karl Fogel
(Re-adding Jeanne Rasata to this thread, so she sees the excellent suggestion above.)
I posted this on reddit, and there are some awesome suggestions too:
https://www.reddit.com/r/emacs/comments/7sqejq/suggestion_for_a_witty_emacs_command_for_a_mug/


-- Toon
Stephen Berman
2018-01-25 09:09:40 UTC
Permalink
Post by Karl Fogel
Post by Phil Sainty
M-x fill-region
with the height of the mug 'selected'.
+1
(Re-adding Jeanne Rasata to this thread, so she sees the excellent suggestion above.)
M-x fill-region (with the height of the mug "selected")
takes the cake. Bravo, Phil.
Best regards,
-Karl
Just once? How about:

M-: (refill-mode 'coffee) or
M-: (auto-fill-mode 'coffee)

Steve Berman
Herring, Davis
2018-01-25 13:54:06 UTC
Permalink
Post by Stephen Berman
M-: (auto-fill-mode 'coffee)
Just M-x auto-fill-mode would work since it's on the mug. People who know the command will think it's funny when they realize why it's on a mug, and people who don't will think of coffee and think it's funny (if and) when they learn the source.

Davis
Stephen Berman
2018-01-25 14:03:00 UTC
Permalink
Post by Herring, Davis
Post by Stephen Berman
M-: (auto-fill-mode 'coffee)
Just M-x auto-fill-mode would work since it's on the mug.
Except that that's a toggle... but maybe that's a good way to say
"Thanks, I've had enough."

Steve Berman
Toon Claes
2018-01-25 15:19:08 UTC
Permalink
Post by Stephen Berman
Except that that's a toggle... but maybe that's a good way to say
"Thanks, I've had enough."
M-x fill-region
with the height of the mug 'selected'.
-- Toon
Simon Leinen
2018-01-26 10:12:13 UTC
Permalink
Post by Karl Fogel
M-x fill-region (with the height of the mug "selected")
takes the cake. Bravo, Phil.
Very nice indeed!

I was thinking of something like

C-x r t C-x 8 RET HOT BEVERAGE RET

with the height and width (OK, tricky if it's a round mug :-) of the
mug selected. But Emacs seems to lack an easily accessible function to
fill an entire rectangle with anything other than blanks. Bug?
--
Simon.
Boruch Baum
2018-01-26 18:00:31 UTC
Permalink
Post by Simon Leinen
with the height and width (OK, tricky if it's a round mug :-) of the
mug selected. But Emacs seems to lack an easily accessible function to
fill an entire rectangle with anything other than blanks. Bug?
M-x cua-rectangle-mode
Select your rectangular region
M-f
Enter the character with which to fill the rectangle

See emacs bug #30085 ...
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
Vincent Ambo
2018-01-25 10:20:53 UTC
Permalink
Post by Jeanne Rasata
If you do, please let me know!
I made an emacs t-shirt a while back that says `M-x heart RET emacs`,
as a reference to the traditional "I <heart> NYC" etc. tourist
t-shirts.

It looks like this: Loading Image...

It's been well received at conferences and such, but I'm always a bit
unsure about whether a second `RET` should've been placed at the end
or not.
Richard Stallman
2018-01-25 16:30:13 UTC
Permalink
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

I absolutely hate the practice of using a heart symbol to mean "love"
as a verb. That symbol should not be read as "love".
--
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
Skype: No way! See https://stallman.org/skype.html.
Drew Adams
2018-01-25 17:40:10 UTC
Permalink
Use `auto-fill-mode' - or perhaps `auto-fill-mug'.

After that as a heading, include the doc in a _tiny_ font.

For that, we could use what `C-h f' says, but it's not so great:

auto-fill-mode is an interactive compiled Lisp function in
`simple.el'.

(auto-fill-mode &optional ARG)

Toggle automatic line breaking (Auto Fill mode).
Interactively, with a prefix argument, enable
Auto Fill mode if the prefix argument is positive,
and disable it otherwise. If called from Lisp, toggle
the mode if ARG is ‘toggle’, disable the mode if ARG is
a non-positive integer, and enable the mode otherwise
(including if ARG is omitted or nil or a positive integer).

When Auto Fill mode is enabled, inserting a space at a column
beyond ‘current-fill-column’ automatically breaks the line at a
previous space.

When ‘auto-fill-mode’ is on, the ‘auto-fill-function’ variable is
non-nil.

The value of ‘normal-auto-fill-function’ specifies the function to use
for ‘auto-fill-function’ when turning Auto Fill mode on.

Much better would be to use what (emacs) `Auto Fill' says:

Auto Fill Mode
--------------

“Auto Fill” mode is a buffer-local minor mode (see Minor Modes) in
which lines are broken automatically at spaces when the line becomes too
wide.

‘M-x auto-fill-mode’
Enable or disable Auto Fill mode.
‘<SPC>’
‘<RET>’
In Auto Fill mode, break lines when appropriate.

The mode command ‘M-x auto-fill-mode’ toggles Auto Fill mode in the
current buffer. Like any other minor mode, with a positive numeric
argument, it enables Auto Fill mode, and with a negative argument it
disables it. To enable Auto Fill mode automatically in certain major
modes, add ‘auto-fill-mode’ to the mode hooks (*note Major Modes::).
When Auto Fill mode is enabled, the mode indicator ‘Fill’ appears in the
mode line (see Mode Line).

Auto Fill mode breaks lines automatically at spaces whenever they get
longer than the desired width. This line breaking occurs only when you
type <SPC> or <RET>. If you wish to insert a space or newline without
permitting line-breaking, type ‘C-q <SPC>’ or ‘C-q C-j’ respectively.
Also, ‘C-o’ inserts a newline without line breaking.

When Auto Fill mode breaks a line, it tries to obey the “adaptive
fill prefix”: if a fill prefix can be deduced from the first and/or
second line of the current paragraph, it is inserted into the new line
(see Adaptive Fill). Otherwise the new line is indented, as though
you had typed <TAB> on it (see Indentation). In a programming
language mode, if a line is broken in the middle of a comment, the
comment is split by inserting new comment delimiters as appropriate.

Auto Fill mode does not refill entire paragraphs; it breaks lines but
does not merge lines. Therefore, editing in the middle of a paragraph
can result in a paragraph that is not correctly filled. To fill it,
call the explicit fill commands (see Fill Commands).

This makes the point/joke, while showing Emacs as the self-documenting,
self-deprecating/self-kidding editor.
Simon Leinen
2018-01-26 10:16:24 UTC
Permalink
Post by Jeanne Rasata
Hello, youz,
The FSF is trying to come up with a cool Emacs-related design/theme
for one of the mugs we sell. One idea is to put a witty command on
it.
Great initiative
Post by Jeanne Rasata
Do you have a suggestion for what could be a witty command, or
sequence of commands? Or maybe something else Emacs-related?
If you do, please let me know!
I'm trying my best (see separate message) but the thread looks
promising enough already.

When you make the mugs available, don't forget to

M-x report-emacs-mug RET

...so we can all order some.
--
Simon.
Drew Adams
2018-01-26 16:17:47 UTC
Permalink
Post by Simon Leinen
M-x report-emacs-mug RET
+1. Put that on the mug.
Jeanne Rasata
2018-01-29 13:25:46 UTC
Permalink
Hello, Everyone,

Thank you very much for all the really great feedback!
I've made a note of all your suggestions, and am sharing them with the
rest of the team.
Post by Simon Leinen
When you make the mugs available, don't forget to
M-x report-emacs-mug RET
...so we can all order some.
Yes, I will, of course, keep you all posted, and let you know as soon as
it's been added to the inventory. (Might be a few months.)

Thanks again for having taken the time to come up with the very original
ideas, and also for having gotten feedback from elsewhere.
Sincerely,
j.
Alex Hutcheson
2018-04-19 19:03:22 UTC
Permalink
Any update on the mugs?
Post by Jeanne Rasata
Hello, Everyone,
Thank you very much for all the really great feedback!
I've made a note of all your suggestions, and am sharing them with the
rest of the team.
Post by Simon Leinen
When you make the mugs available, don't forget to
M-x report-emacs-mug RET
...so we can all order some.
Yes, I will, of course, keep you all posted, and let you know as soon as
it's been added to the inventory. (Might be a few months.)
Thanks again for having taken the time to come up with the very original
ideas, and also for having gotten feedback from elsewhere.
Sincerely,
j.
--
Alex Hutcheson
***@google.com
Jeanne Rasata
2018-05-02 14:15:19 UTC
Permalink
Hello, Alex,

Please forgive this tardy response to your message.
Post by Alex Hutcheson
Any update on the mugs?
Yes, the FSF is going to be adding them to the shop inventory, which will
be renewed/updated this summer. So you can expect them in late July/early
August.

Thank you all again for your feedback.
Thanks for supporting free software.
Sincerely,
j.
Alex Hutcheson
2018-05-02 14:27:49 UTC
Permalink
Nice, looking forward to it!
Post by Jeanne Rasata
Hello, Alex,
Please forgive this tardy response to your message.
Post by Alex Hutcheson
Any update on the mugs?
Yes, the FSF is going to be adding them to the shop inventory, which will
be renewed/updated this summer. So you can expect them in late July/early
August.
Thank you all again for your feedback.
Thanks for supporting free software.
Sincerely,
j.
--
Alex Hutcheson
***@google.com
Loading...