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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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
       [not found] ` <mailman.8604.1410341530.1147.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ messages in thread

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
     [not found] <mailman.138733.1410339614.1146.help-gnu-emacs@gnu.org>
2014-09-10  9:32 ` Tory S. Anderson
     [not found] ` <mailman.8604.1410341530.1147.help-gnu-emacs@gnu.org>
2014-09-10 21:42   ` 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.