unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* This is what happens when your cat uses your Emacs
@ 2012-01-14 19:43 Jose E. Marchesi
  2012-01-14 19:47 ` Lennart Borgman
  2012-01-15 16:44 ` Stefan Monnier
  0 siblings, 2 replies; 14+ messages in thread
From: Jose E. Marchesi @ 2012-01-14 19:43 UTC (permalink / raw)
  To: emacs-devel


C-M-S-s-z is undefined.

I could not have done that myself!

-- 
Jose E. Marchesi         http://www.jemarch.net
GNU Project              http://www.gnu.org



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: This is what happens when your cat uses your Emacs
  2012-01-14 19:43 This is what happens when your cat uses your Emacs Jose E. Marchesi
@ 2012-01-14 19:47 ` Lennart Borgman
  2012-01-14 19:54   ` Jose E. Marchesi
  2012-01-14 19:59   ` Jose E. Marchesi
  2012-01-15 16:44 ` Stefan Monnier
  1 sibling, 2 replies; 14+ messages in thread
From: Lennart Borgman @ 2012-01-14 19:47 UTC (permalink / raw)
  To: Jose E. Marchesi; +Cc: emacs-devel

On Sat, Jan 14, 2012 at 20:43, Jose E. Marchesi <jemarch@gnu.org> wrote:
>
>
> C-M-S-s-z is undefined.
>
> I could not have done that myself!

Yes, it seems hard. I have no cat and I get "C-M-S-z is undefined" when I try.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: This is what happens when your cat uses your Emacs
  2012-01-14 19:47 ` Lennart Borgman
@ 2012-01-14 19:54   ` Jose E. Marchesi
  2012-01-15  8:50     ` Harald Hanche-Olsen
  2012-01-14 19:59   ` Jose E. Marchesi
  1 sibling, 1 reply; 14+ messages in thread
From: Jose E. Marchesi @ 2012-01-14 19:54 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: emacs-devel


    > C-M-S-s-z is undefined.
    >
    > I could not have done that myself!
    
    Yes, it seems hard. I have no cat and I get "C-M-S-z is undefined"
    when I try.

Heh, you just proved my point.  If you had a cat you would get
"C-M-S-s-z is undefined" instead :D

-- 
Jose E. Marchesi         http://www.jemarch.net
GNU Project              http://www.gnu.org



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: This is what happens when your cat uses your Emacs
  2012-01-14 19:47 ` Lennart Borgman
  2012-01-14 19:54   ` Jose E. Marchesi
@ 2012-01-14 19:59   ` Jose E. Marchesi
  1 sibling, 0 replies; 14+ messages in thread
From: Jose E. Marchesi @ 2012-01-14 19:59 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: emacs-devel


    > C-M-S-s-z is undefined.
    >
    > I could not have done that myself!
    
    Yes, it seems hard. I have no cat and I get "C-M-S-z is undefined" when I try.

It looks like the "windows" key I have got between the left Ctrl and the
left Alt keys generates s-.  So if you press Shift-Ctrl-Alt-Windows-z,
you get the C-M-S-s-z keys sequence...

-- 
Jose E. Marchesi         http://www.jemarch.net
GNU Project              http://www.gnu.org



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: This is what happens when your cat uses your Emacs
  2012-01-14 19:54   ` Jose E. Marchesi
@ 2012-01-15  8:50     ` Harald Hanche-Olsen
  0 siblings, 0 replies; 14+ messages in thread
From: Harald Hanche-Olsen @ 2012-01-15  8:50 UTC (permalink / raw)
  To: emacs-devel

[jemarch@gnu.org (Jose E. Marchesi) (2012-01-14 19:54:40 UTC)]

> 
>     > C-M-S-s-z is undefined.
>     >
>     > I could not have done that myself!
>     
>     Yes, it seems hard. I have no cat and I get "C-M-S-z is undefined"
>     when I try.
> 
> Heh, you just proved my point.  If you had a cat you would get
> "C-M-S-s-z is undefined" instead :D

So maybe we should rebind that key to engage Cats-Lock.

- Harald



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: This is what happens when your cat uses your Emacs
  2012-01-14 19:43 This is what happens when your cat uses your Emacs Jose E. Marchesi
  2012-01-14 19:47 ` Lennart Borgman
@ 2012-01-15 16:44 ` Stefan Monnier
  2012-01-15 17:08   ` Drew Adams
                     ` (2 more replies)
  1 sibling, 3 replies; 14+ messages in thread
From: Stefan Monnier @ 2012-01-15 16:44 UTC (permalink / raw)
  To: Jose E. Marchesi; +Cc: emacs-devel

> C-M-S-s-z is undefined.

A proof if ever that Emacs users need cats.
BTW, we should probably bind it to some cat command.


        Stefan



^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: This is what happens when your cat uses your Emacs
  2012-01-15 16:44 ` Stefan Monnier
@ 2012-01-15 17:08   ` Drew Adams
  2012-01-15 17:28     ` Bastien
  2012-01-15 22:15   ` Eric Schulte
  2012-01-16  5:45   ` Richard Stallman
  2 siblings, 1 reply; 14+ messages in thread
From: Drew Adams @ 2012-01-15 17:08 UTC (permalink / raw)
  To: 'Stefan Monnier', 'Jose E. Marchesi'; +Cc: emacs-devel

> > C-M-S-s-z is undefined.
> 
> A proof if ever that Emacs users need cats.
> BTW, we should probably bind it to some cat command.

Pronounced, it hacks up a hair ball, then trails off in a purr.




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: This is what happens when your cat uses your Emacs
  2012-01-15 17:08   ` Drew Adams
@ 2012-01-15 17:28     ` Bastien
  0 siblings, 0 replies; 14+ messages in thread
From: Bastien @ 2012-01-15 17:28 UTC (permalink / raw)
  To: Drew Adams
  Cc: emacs-devel, 'Stefan Monnier', 'Jose E. Marchesi'

"Drew Adams" <drew.adams@oracle.com> writes:

>> > C-M-S-s-z is undefined.

I cannot reproduce this in a *scratch* buffer.

C-M-S is translated to C-M-s (`isearch-forward-regexp')

Maybe this happens only in cat-mode?

-- 
 Bastien



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: This is what happens when your cat uses your Emacs
  2012-01-15 16:44 ` Stefan Monnier
  2012-01-15 17:08   ` Drew Adams
@ 2012-01-15 22:15   ` Eric Schulte
  2012-01-15 22:27     ` Lennart Borgman
                       ` (2 more replies)
  2012-01-16  5:45   ` Richard Stallman
  2 siblings, 3 replies; 14+ messages in thread
From: Eric Schulte @ 2012-01-15 22:15 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel, Jose E. Marchesi

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> C-M-S-s-z is undefined.
>
> A proof if ever that Emacs users need cats.
> BTW, we should probably bind it to some cat command.
>

how about,

(defun cat-command ()
  "A command for cats."
  (interactive)
  (require 'animate)
  (let ((mouse "
           ___00
        ~~/____'>
          \"  \"")
        (h-pos (floor (/ (window-height) 2)))
        (contents (buffer-string))
        (mouse-buffer (generate-new-buffer "*mouse*")))
    (save-excursion
      (switch-to-buffer mouse-buffer)
      (insert contents)
      (setq truncate-lines t)
      (animate-string mouse h-pos 0)
      (dotimes (_ (window-width))
        (sit-for 0.01)
        (dotimes (n 3)
          (goto-line (+ h-pos n 2))
          (move-to-column 0)
          (insert " "))))
    (kill-buffer mouse-buffer)))

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: This is what happens when your cat uses your Emacs
  2012-01-15 22:15   ` Eric Schulte
@ 2012-01-15 22:27     ` Lennart Borgman
  2012-01-15 23:52     ` Jambunathan K
  2012-01-16  9:32     ` Leo
  2 siblings, 0 replies; 14+ messages in thread
From: Lennart Borgman @ 2012-01-15 22:27 UTC (permalink / raw)
  To: Eric Schulte; +Cc: Jose E. Marchesi, Stefan Monnier, emacs-devel

On Sun, Jan 15, 2012 at 23:15, Eric Schulte <eric.schulte@gmx.com> wrote:
> (defun cat-command ()
>  "A command for cats."

I am not a cat, but I still liked that :-)



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: This is what happens when your cat uses your Emacs
  2012-01-15 22:15   ` Eric Schulte
  2012-01-15 22:27     ` Lennart Borgman
@ 2012-01-15 23:52     ` Jambunathan K
  2012-01-16  5:12       ` Jambunathan K
  2012-01-16  9:32     ` Leo
  2 siblings, 1 reply; 14+ messages in thread
From: Jambunathan K @ 2012-01-15 23:52 UTC (permalink / raw)
  To: emacs-devel

Eric Schulte <eric.schulte@gmx.com> writes:

> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>>> C-M-S-s-z is undefined.
>>
>> A proof if ever that Emacs users need cats.
>> BTW, we should probably bind it to some cat command.
>>
>
> how about,
>
> (defun cat-command ()
>   "A command for cats."

My cat continues to see "C-M-S-s-z is undefined" as reported by the
OC. 

When it ran the above command with M-x cat-command it was not at all
happy with the new implementation. It's terribly upset that it's
survival will be a big question mark if Emacs-24.1 got released with
this patch. It is planning an OCCUPY FSF movement with all other cats to
protest against the acceptance of this patch.

Please provide a different implementation that will make my and OP's cat
stay with Emacs and not switch to Notepad.
-- 



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: This is what happens when your cat uses your Emacs
  2012-01-15 23:52     ` Jambunathan K
@ 2012-01-16  5:12       ` Jambunathan K
  0 siblings, 0 replies; 14+ messages in thread
From: Jambunathan K @ 2012-01-16  5:12 UTC (permalink / raw)
  To: emacs-devel

Jambunathan K <kjambunathan@gmail.com> writes:

> Eric Schulte <eric.schulte@gmx.com> writes:
>
>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>
>>>> C-M-S-s-z is undefined.
>>>
>>> A proof if ever that Emacs users need cats.
>>> BTW, we should probably bind it to some cat command.
>>>
>>
>> how about,
>>
>> (defun cat-command ()
>>   "A command for cats."
>
> My cat continues to see "C-M-S-s-z is undefined" as reported by the
> OC. 
>
> When it ran the above command with M-x cat-command it was not at all
> happy with the new implementation. It's terribly upset that it's
> survival will be a big question mark if Emacs-24.1 got released with
> this patch. It is planning an OCCUPY FSF movement with all other cats to
> protest against the acceptance of this patch.
>
> Please provide a different implementation that will make my and OP's cat
> stay with Emacs and not switch to Notepad.

The two neighbourhood cats[1] that love cowsay[2] - only because they
appear on it - asked me to forward the following FR (in style).

Hope it is considered for Emacs-24.1.

$ echo "i can has cheezburger" | cowsay -f kitty
 _______________________ 
< i can has cheezburger >
 ----------------------- 
     \
      \
       ("`-'  '-/") .___..--' ' "`-._
         ` *_ *  )    `-.   (      ) .`-.__. `)
         (_Y_.) ' ._   )   `._` ;  `` -. .-'
      _.. `--'_..-_/   /--' _ .' ,4
   ( i l ),-''  ( l i),'  ( ( ! .-'    

$ echo "i can has cheezburger" | cowsay -f meow
 _______________________ 
< i can has cheezburger >
 ----------------------- 
  \
   \ ,   _ ___.--'''`--''//-,-_--_.
      \`"' ` || \\ \ \\/ / // / ,-\\`,_
     /'`  \ \ || Y  | \|/ / // / - |__ `-,
    /@"\  ` \ `\ |  | ||/ // | \/  \  `-._`-,_.,
   /  _.-. `.-\,___/\ _/|_/_\_\/|_/ |     `-._._)
   `-'``/  /  |  // \__/\__  /  \__/ \
        `-'  /-\/  | -|   \__ \   |-' |
          __/\ / _/ \/ __,-'   ) ,' _|'
         (((__/(((_.' ((___..-'((__,'

Footnotes: 
[1] Are they cats?
[2] http://en.wikipedia.org/wiki/Cowsay

-- 



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: This is what happens when your cat uses your Emacs
  2012-01-15 16:44 ` Stefan Monnier
  2012-01-15 17:08   ` Drew Adams
  2012-01-15 22:15   ` Eric Schulte
@ 2012-01-16  5:45   ` Richard Stallman
  2 siblings, 0 replies; 14+ messages in thread
From: Richard Stallman @ 2012-01-16  5:45 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel, jemarch

    A proof if ever that Emacs users need cats.

If we have mouse commands, we need cat commands too.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use free telephony http://directory.fsf.org/category/tel/



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: This is what happens when your cat uses your Emacs
  2012-01-15 22:15   ` Eric Schulte
  2012-01-15 22:27     ` Lennart Borgman
  2012-01-15 23:52     ` Jambunathan K
@ 2012-01-16  9:32     ` Leo
  2 siblings, 0 replies; 14+ messages in thread
From: Leo @ 2012-01-16  9:32 UTC (permalink / raw)
  To: emacs-devel

On 2012-01-16 06:15 +0800, Eric Schulte wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>>> C-M-S-s-z is undefined.
>>
>> A proof if ever that Emacs users need cats.
>> BTW, we should probably bind it to some cat command.
>>
>
> how about,
>
> (defun cat-command ()
>   "A command for cats."
>   (interactive)
>   (require 'animate)
>   (let ((mouse "
>            ___00
>         ~~/____'>
>           \"  \"")
>         (h-pos (floor (/ (window-height) 2)))
>         (contents (buffer-string))
>         (mouse-buffer (generate-new-buffer "*mouse*")))
>     (save-excursion
>       (switch-to-buffer mouse-buffer)
>       (insert contents)
>       (setq truncate-lines t)
>       (animate-string mouse h-pos 0)
>       (dotimes (_ (window-width))
>         (sit-for 0.01)
>         (dotimes (n 3)
>           (goto-line (+ h-pos n 2))
>           (move-to-column 0)
>           (insert " "))))
>     (kill-buffer mouse-buffer)))

Should this be added to the startup screen?

Leo




^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-01-16  9:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-14 19:43 This is what happens when your cat uses your Emacs Jose E. Marchesi
2012-01-14 19:47 ` Lennart Borgman
2012-01-14 19:54   ` Jose E. Marchesi
2012-01-15  8:50     ` Harald Hanche-Olsen
2012-01-14 19:59   ` Jose E. Marchesi
2012-01-15 16:44 ` Stefan Monnier
2012-01-15 17:08   ` Drew Adams
2012-01-15 17:28     ` Bastien
2012-01-15 22:15   ` Eric Schulte
2012-01-15 22:27     ` Lennart Borgman
2012-01-15 23:52     ` Jambunathan K
2012-01-16  5:12       ` Jambunathan K
2012-01-16  9:32     ` Leo
2012-01-16  5:45   ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).