[OpenIndiana-discuss] Tabs no longer expanded when cutting and pasting

Roy Sigurd Karlsbakk roy at karlsbakk.net
Fri Mar 4 21:44:53 UTC 2011


> I noticed this change with respect to Solaris 10 in both Openindiana
> 148 and Solaris 11 Express: when I cut text in one gnome-terminal
> window and paste it into another, tabs are no longer expanded to
> spaces. I suppose this is better behavior because you generally want
> to retain the tabs. However, it's a problem for me when I'm pasting
> into an emacs editor session within that terminal window. In that
> case, emacs treats the tabs as an indentation command, the same as if
> I had typed them by hand. The amount of indentation increases with
> each successive tab.
> 
> The only solution I've found so far is to type:
> 
> M-x global-set-key<RET> <TAB> self-insert-command

On the planet where I reside, vim, this is called ':set paste'.

If copy/paste changes tabs to spaces, that's quite bad IMHO.

Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 97542685
roy at karlsbakk.net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.



More information about the OpenIndiana-discuss mailing list