From: "Rich E" <reakinator@gmail.com>
To: sebastian_rose@gmx.de, emacs-orgmode@gnu.org
Subject: Re: Re: how to wrap headings
Date: Thu, 23 Oct 2008 16:23:35 +0200 [thread overview]
Message-ID: <a3297bc90810230723s2f838586r785d67d8fb52f6e5@mail.gmail.com> (raw)
In-Reply-To: <48FFC8F5.1030102@gmx.de>
ah, very nice and easy. That was the call I was looking for.
So now I have toggle-truncate-lines bound to C-x-q, but I cannot use
it in the file I want, which is in Python mode. I get the message "Not
defining or executing kbd macro".
I have it bound like this:
(global-set-key (kbd "C-x q") 'toggle-truncate-lines)
.. maybe there is a better way to bind it? I'm just kindof hacking at
the .emacs file, don't really know the api well.
On Thu, Oct 23, 2008 at 2:44 AM, Sebastian Rose <sebastian_rose@gmx.de> wrote:
> Funny enough, yesterday I wrote this one here:
>
>
>
> (defun my-toggle-truncate-lines ()
> "Toggle truncate-lines."
> (interactive)
> (setq truncate-lines (if truncate-lines nil t)))
>
>
>
> I've bound it to H-t (I like those windows keys in Linux/GNU :-) and use
> it a lot (since yesterday). It's so usefull, that I wonder if something
> like this is in emacs already???
>
>
>
>
> Bernt Hansen wrote:
>>
>> "Rich E" <reakinator@gmail.com> writes:
>>
>>> I just have a simple question: how can I wrap the headings so they
>>> don't go off the visual window?
>>
>> M-x set-truncate-lines
>>
>> It toggles line wrapping on and off.
>>
>> -Bernt
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
next prev parent reply other threads:[~2008-10-23 14:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-22 21:23 how to wrap headings Rich E
2008-10-22 22:16 ` Mike Newman
2008-10-22 22:19 ` Bernt Hansen
2008-10-23 0:44 ` Sebastian Rose
2008-10-23 14:23 ` Rich E [this message]
2008-10-23 15:09 ` Manish
2008-10-23 15:12 ` Sebastian Rose
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a3297bc90810230723s2f838586r785d67d8fb52f6e5@mail.gmail.com \
--to=reakinator@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=sebastian_rose@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).