From: York Zhao <gtdplatform@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to add property for a buffer object
Date: Wed, 12 Sep 2012 21:43:36 -0400 [thread overview]
Message-ID: <CAD3zm22_BpEzGCHH_q-jPT8AfFDqcPfLsQ-M3xePZ7h7t8gAqw@mail.gmail.com> (raw)
In-Reply-To: <74A463A666FC4C958DC458B69A7CD6F1@us.oracle.com>
> I was suggesting that you might be able to just select several paragraphs and
> use one of the commands I mentioned, instead of hitting `M-q' for each
> paragraph.
> > What I'm looking for is something like "refill-mode" so that I > don't have
>to always hit "M-q" while inserting or deleting text > in the middle of a line.
>My fingers hurt a lot so I always try > to hit as less keys as possible. Why
>bother to fill immediately? Why not select all your paragraphs when you're done
>editing or at a stopping point, and then use one of the region filling
>commands? That was my suggestion, anyway, FWIW.
Looks at that I actually missed you point :), but on the other hand, you
actually don't have to use any other filling command to fill the selection, at
least in Emacs 24.2, you could use "M-q" (`fill-paragraph') to fill the region
because `fill-paragraph' now checks whether there is an active region,
if so, it will fill the region instead of filling the paragraph. But my problem
is not here, it is that if I insert enough text in the middle of a line, the
current line will be broken into two lines, but unfortunately, not two physical
lines, it just becomes two visual lines, I mean, it is still one line, and
since I'm using Vim key bindings (the wonderful Evil package), if I hit "j" I
will be moving to next physical line not visual line, and I have to hit "gj" if
I want to move to next visual line which is a pain. Maybe I really need to
configure my "Evil" to move visual lines when "j" and "k" are pressed.
Thanks,
York
prev parent reply other threads:[~2012-09-13 1:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-12 15:30 How to add property for a buffer object York Zhao
2012-09-12 15:58 ` Drew Adams
2012-09-12 16:36 ` York Zhao
2012-09-12 17:10 ` Drew Adams
2012-09-12 18:49 ` York Zhao
2012-09-12 20:55 ` Drew Adams
2012-09-13 1:43 ` York Zhao [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAD3zm22_BpEzGCHH_q-jPT8AfFDqcPfLsQ-M3xePZ7h7t8gAqw@mail.gmail.com \
--to=gtdplatform@gmail.com \
--cc=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
/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 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.