all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Physically Rotate Text
@ 2014-09-09 13:28 Tory S. Anderson
  2014-09-09 14:08 ` Stefan Monnier
       [not found] ` <mailman.8528.1410271765.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 13+ messages in thread
From: Tory S. Anderson @ 2014-09-09 13:28 UTC (permalink / raw
  To: emacs list

If this weren't emacs, I wouldn't be surprised not to have a physical rotate function. 

Here's what I'm looking for: the ability to change a block from a horizontal to a vertical layout of text. This would be part of emacs super ASCII non-graphical powers, so that if I'm modelling a bar chart, I can convert it to a column chart:

XXX
XXXXXXX
XXXXX
XXXXXXXXX

becomes:

   X
   X
 X X
 X X
 XXX
 XXX
XXXX
XXXX
XXXX

Any ideas? 





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

* Re: Physically Rotate Text
  2014-09-09 13:28 Tory S. Anderson
@ 2014-09-09 14:08 ` Stefan Monnier
       [not found] ` <mailman.8528.1410271765.1147.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 13+ messages in thread
From: Stefan Monnier @ 2014-09-09 14:08 UTC (permalink / raw
  To: help-gnu-emacs

> If this weren't Emacs, I wouldn't be surprised not to have a physical
> rotate function.  Here's what I'm looking for: the ability to change
> a block from a horizontal to a vertical layout of text.  This would be
> part of emacs super ASCII non-graphical powers, so that if I'm
> modelling a bar chart, I can convert it to a column chart:

Indeed, picture-mode is lacking this functionality.
And so is artist-mode.

I have an excuse: I'm a types guy.

But about all you users?  What's your excuse?  What have you been doing
all these years instead of writing a rectangle-rotate function?


        Stefan




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

* Re: Physically Rotate Text
       [not found] <mailman.8523.1410269317.1147.help-gnu-emacs@gnu.org>
@ 2014-09-09 20:03 ` Pascal J. Bourguignon
  2014-09-10  6:25   ` Nicolas Richard
  0 siblings, 1 reply; 13+ messages in thread
From: Pascal J. Bourguignon @ 2014-09-09 20:03 UTC (permalink / raw
  To: help-gnu-emacs

torys.anderson@gmail.com (Tory S. Anderson) writes:

> If this weren't emacs, I wouldn't be surprised not to have a physical rotate function. 
>
> Here's what I'm looking for: the ability to change a block from a horizontal to a vertical layout of text. This would be part of emacs super ASCII non-graphical powers, so that if I'm modelling a bar chart, I can convert it to a column chart:
>
> XXX
> XXXXXXX
> XXXXX
> XXXXXXXXX
>
> becomes:
>
>    X
>    X
>  X X
>  X X
>  XXX
>  XXX
> XXXX
> XXXX
> XXXX
>
> Any ideas? 

M-x rotate-ccw-region RET

-- 
__Pascal Bourguignon__                 http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk


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

* Re: Physically Rotate Text
       [not found] ` <mailman.8528.1410271765.1147.help-gnu-emacs@gnu.org>
@ 2014-09-09 20:05   ` Emanuel Berg
  2014-09-10  8:51     ` Pascal J. Bourguignon
  0 siblings, 1 reply; 13+ messages in thread
From: Emanuel Berg @ 2014-09-09 20:05 UTC (permalink / raw
  To: help-gnu-emacs

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

> But about all you users? What's your excuse? What
> have you been doing all these years instead of
> writing a rectangle-rotate function?

If there isn't a piece of code that does this somewhere
on the web or in an MELPA package first thing would be
to examine if some other Lisper (not Elisper) did it,
second thing would be to check for a shell tool that
could be incorporated.

And - why do you want this, Mr. Anderson? :)

-- 
underground experts united


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

* Re: Physically Rotate Text
  2014-09-09 20:03 ` Physically Rotate Text Pascal J. Bourguignon
@ 2014-09-10  6:25   ` Nicolas Richard
  2014-09-10  7:53     ` Pascal J. Bourguignon
  0 siblings, 1 reply; 13+ messages in thread
From: Nicolas Richard @ 2014-09-10  6:25 UTC (permalink / raw
  To: Pascal J. Bourguignon; +Cc: help-gnu-emacs

"Pascal J. Bourguignon" <pjb@informatimago.com> writes:
> torys.anderson@gmail.com (Tory S. Anderson) writes:
>> Here's what I'm looking for: the ability to change a block from a
>> horizontal to a vertical layout of text. This would be part of emacs
>> super ASCII non-graphical powers, so that if I'm modelling a bar
>> chart, I can convert it to a column chart:
> M-x rotate-ccw-region RET

Google says this is one of your own function, which means one should
first load e.g.
http://www.informatimago.com/develop/emacs/emacs/pjb-transpose.el

-- 
Nico.



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

* Re: Physically Rotate Text
  2014-09-10  6:25   ` Nicolas Richard
@ 2014-09-10  7:53     ` Pascal J. Bourguignon
  2014-09-10 12:31       ` Stefan Monnier
       [not found]       ` <mailman.8609.1410352449.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 13+ messages in thread
From: Pascal J. Bourguignon @ 2014-09-10  7:53 UTC (permalink / raw
  To: Nicolas Richard; +Cc: help-gnu-emacs


On 10 Sep 2014, at 08:25, Nicolas Richard <theonewiththeevillook@yahoo.fr> wrote:

> "Pascal J. Bourguignon" <pjb@informatimago.com> writes:
>> torys.anderson@gmail.com (Tory S. Anderson) writes:
>>> Here's what I'm looking for: the ability to change a block from a
>>> horizontal to a vertical layout of text. This would be part of emacs
>>> super ASCII non-graphical powers, so that if I'm modelling a bar
>>> chart, I can convert it to a column chart:
>> M-x rotate-ccw-region RET
> 
> Google says this is one of your own function, which means one should
> first load e.g.
> http://www.informatimago.com/develop/emacs/emacs/pjb-transpose.el


Oops, sorry, I made a mistake while checking, I thought it was a predefined one.
— 
__Pascal Bourguignon__





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

* Re: Physically Rotate Text
  2014-09-09 20:05   ` Emanuel Berg
@ 2014-09-10  8:51     ` Pascal J. Bourguignon
  0 siblings, 0 replies; 13+ messages in thread
From: Pascal J. Bourguignon @ 2014-09-10  8:51 UTC (permalink / raw
  To: help-gnu-emacs

Emanuel Berg <embe8573@student.uu.se> writes:

> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>> But about all you users? What's your excuse? What
>> have you been doing all these years instead of
>> writing a rectangle-rotate function?
>
> If there isn't a piece of code that does this somewhere
> on the web or in an MELPA package first thing would be
> to examine if some other Lisper (not Elisper) did it,
> second thing would be to check for a shell tool that
> could be incorporated.

Of course there is: rotate-ccw-region is in:

http://www.informatimago.com/develop/emacs/emacs/pjb-transpose.el


> And - why do you want this, Mr. Anderson? :)

-- 
__Pascal Bourguignon__                 http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk




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

* Re: Physically Rotate Text
       [not found] <mailman.138733.1410339614.1146.help-gnu-emacs@gnu.org>
@ 2014-09-10  9:32 ` Tory S. Anderson
  2014-09-10  9:38 ` Gnus Subscribing to Newsgroup Tory S. Anderson
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 13+ messages in thread
From: Tory S. Anderson @ 2014-09-10  9:32 UTC (permalink / raw
  To: help-gnu-emacs

> "Pascal J. Bourguignon" <pjb@informatimago.com> writes:
>> torys.anderson@gmail.com (Tory S. Anderson) writes:
>>> Here's what I'm looking for: the ability to change a block from a
>>> horizontal to a vertical layout of text. This would be part of emacs
>>> super ASCII non-graphical powers, so that if I'm modelling a bar
>>> chart, I can convert it to a column chart:
>> M-x rotate-ccw-region RET
> 
> Google says this is one of your own function, which means one should
> first load e.g.
> http://www.informatimago.com/develop/emacs/emacs/pjb-transpose.el

Ah, knew I could count on you guys!

>> And - why do you want this, Mr. Anderson? :)
Maybe I'm just a lowly designer who wants to be able to convert ASCII bar graphs to column graphs. Yeah, that's it. Certainly nothing to do with my requiring this function to unravel the Matrix. Nope. 




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

* Gnus Subscribing to Newsgroup
       [not found] <mailman.138733.1410339614.1146.help-gnu-emacs@gnu.org>
  2014-09-10  9:32 ` Physically Rotate Text Tory S. Anderson
@ 2014-09-10  9:38 ` Tory S. Anderson
       [not found] ` <mailman.8604.1410341530.1147.help-gnu-emacs@gnu.org>
       [not found] ` <mailman.8605.1410341897.1147.help-gnu-emacs@gnu.org>
  3 siblings, 0 replies; 13+ messages in thread
From: Tory S. Anderson @ 2014-09-10  9:38 UTC (permalink / raw
  To: help-gnu-emacs

Say, I use Gnus and get my list emails as a digest, which is great for reading but tricky for replying. Is there an easier way here? Just get individual emails and sort them into folders, or something related to those cryptic "news group" things? 

Message: 3
Date: Tue, 09 Sep 2014 21:21:50 -0400
From: Ken <kensubuntu@gmail.com>
To: Emanuel Berg <embe8573@student.uu.se>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Basic emacs lisp question
Message-ID: <871trk9snl.fsf@gmail.com>
Content-Type: text/plain

Emanuel Berg <embe8573@student.uu.se> writes:

> PS. Note how you reply to my posts - reply to the
>     list/newsgroup, not to my e-mail. DS.

Sorry about that. I use gnus and I haven't trained my fingers to use F
rather than R yet.

Ken

--
The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
		-- Mark Twain




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

* Re: Physically Rotate Text
  2014-09-10  7:53     ` Pascal J. Bourguignon
@ 2014-09-10 12:31       ` Stefan Monnier
       [not found]       ` <mailman.8609.1410352449.1147.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 13+ messages in thread
From: Stefan Monnier @ 2014-09-10 12:31 UTC (permalink / raw
  To: help-gnu-emacs

> Oops, sorry, I made a mistake while checking, I thought it was a predefined one.

Following the Elisp coding convention of adding a "package prefix" is
helpful to try and avoid such surprises.


        Stefan




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

* Re: Physically Rotate Text
       [not found] ` <mailman.8604.1410341530.1147.help-gnu-emacs@gnu.org>
@ 2014-09-10 21:42   ` Emanuel Berg
  0 siblings, 0 replies; 13+ messages in thread
From: Emanuel Berg @ 2014-09-10 21:42 UTC (permalink / raw
  To: help-gnu-emacs

torys.anderson@gmail.com (Tory S. Anderson) writes:

> Certainly nothing to do with my requiring this
> function to unravel the Matrix.

Next time, ask for that instead!

-- 
underground experts united


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

* Re: Physically Rotate Text
       [not found]       ` <mailman.8609.1410352449.1147.help-gnu-emacs@gnu.org>
@ 2014-09-10 21:43         ` Emanuel Berg
  0 siblings, 0 replies; 13+ messages in thread
From: Emanuel Berg @ 2014-09-10 21:43 UTC (permalink / raw
  To: help-gnu-emacs

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

> Following the Elisp coding convention of adding a
> "package prefix" is helpful to try and avoid such
> surprises.

Also, you can use `C-h f' - often you will be able to
tell from where it is defined if you did it or someone
else.

-- 
underground experts united


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

* Re: Gnus Subscribing to Newsgroup
       [not found] ` <mailman.8605.1410341897.1147.help-gnu-emacs@gnu.org>
@ 2014-09-10 22:05   ` Emanuel Berg
  0 siblings, 0 replies; 13+ messages in thread
From: Emanuel Berg @ 2014-09-10 22:05 UTC (permalink / raw
  To: help-gnu-emacs

torys.anderson@gmail.com (Tory S. Anderson) writes:

> Say, I use Gnus and get my list emails as a digest,
> which is great for reading but tricky for replying. Is
> there an easier way here? Just get individual emails
> and sort them into folders, or something related to
> those cryptic "news group" things?

I don't understand, what problem are you experiencing?

Newsgroups are in my experience the best if you use
Gnus. For example gnu.emacs.help - this list/group.

For lists that aren't groups as well, as you already
seem to know (?) you can use mail splitting to make
those mails appear to be newsgroups - not just appear,
in all essence, it is the same (they respond the same
way to commands in the Group buffer, for example).

Splitting may look like this:

(setq nnmail-split-methods
 '(("zsh"          "^\\(Cc\\|\\(Resent-\\)?To\\):.*zsh-\\(announce\\|workers\\|users\\)@zsh\.org.*")
   ("debian.user"  "^\\(Cc\\|\\(Resent-\\)?To\\):.*debian-user@lists\.debian\.org.*")
   ("l4"           "^\\(Cc\\|\\(Resent-\\)?To\\):.*l4-hackers@os\.inf\.tu-dresden\.de.*")
   ("emacs-w3m"    "^Subject: \\[emacs-w3m.*")
   ; ...
   ("mail.misc"    "") ))

How to reply? Use
`gnus-article-followup-with-original'. It is bound to F
but you can rebind it to r (or whatever) if you are not
happy with having to use a two-key stroke for something
that frequent.

Check the headers in the message-mode buffer if you are
in doubt.

The only practical difference I have experienced
between mailgroups and newsgroups (except the small
overhead of setting up split-methods) is faces (fonts).
Those are named differently: instead of
`gnus-group-news-1' (etc.), `gnus-group-mail-1'.
   
-- 
underground experts united


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

end of thread, other threads:[~2014-09-10 22:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.138733.1410339614.1146.help-gnu-emacs@gnu.org>
2014-09-10  9:32 ` Physically Rotate Text Tory S. Anderson
2014-09-10  9:38 ` Gnus Subscribing to Newsgroup Tory S. Anderson
     [not found] ` <mailman.8604.1410341530.1147.help-gnu-emacs@gnu.org>
2014-09-10 21:42   ` Physically Rotate Text Emanuel Berg
     [not found] ` <mailman.8605.1410341897.1147.help-gnu-emacs@gnu.org>
2014-09-10 22:05   ` Gnus Subscribing to Newsgroup Emanuel Berg
     [not found] <mailman.8523.1410269317.1147.help-gnu-emacs@gnu.org>
2014-09-09 20:03 ` Physically Rotate Text Pascal J. Bourguignon
2014-09-10  6:25   ` Nicolas Richard
2014-09-10  7:53     ` Pascal J. Bourguignon
2014-09-10 12:31       ` Stefan Monnier
     [not found]       ` <mailman.8609.1410352449.1147.help-gnu-emacs@gnu.org>
2014-09-10 21:43         ` Emanuel Berg
2014-09-09 13:28 Tory S. Anderson
2014-09-09 14:08 ` Stefan Monnier
     [not found] ` <mailman.8528.1410271765.1147.help-gnu-emacs@gnu.org>
2014-09-09 20:05   ` Emanuel Berg
2014-09-10  8:51     ` Pascal J. Bourguignon

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.