* fill-paragraph?
@ 2011-12-09 15:35 Andrea Crotti
2011-12-10 5:20 ` fill-paragraph? Eric Abrahamsen
2011-12-10 8:10 ` fill-paragraph? Samuel Wales
0 siblings, 2 replies; 3+ messages in thread
From: Andrea Crotti @ 2011-12-09 15:35 UTC (permalink / raw)
To: emacs-orgmode
I lilke the fill-paragraph behaviour that I get in org-mode, and I was
wondering
if I could use it also in other modes.
Using (turn-on-orgstruct) doesn't change the behaviour, and actually how
does it
work?
I mean M-q in org-mode is still bound to the exact same function, how
come it
behaves differently?
For example I would like to be able to refill comments in python without
messing
up the list structure:
# TODO
# - see how to handle possible interconnected links between different
projects
# - add some ways to declare more possible branches
# - the name of the protocol is not necessary unless it's HTTP
Ideas?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: fill-paragraph?
2011-12-09 15:35 fill-paragraph? Andrea Crotti
@ 2011-12-10 5:20 ` Eric Abrahamsen
2011-12-10 8:10 ` fill-paragraph? Samuel Wales
1 sibling, 0 replies; 3+ messages in thread
From: Eric Abrahamsen @ 2011-12-10 5:20 UTC (permalink / raw)
To: emacs-orgmode
On Fri, Dec 09 2011, Andrea Crotti wrote:
> I lilke the fill-paragraph behaviour that I get in org-mode, and I was
> wondering
> if I could use it also in other modes.
> Using (turn-on-orgstruct) doesn't change the behaviour, and actually
> how does it
> work?
>
> I mean M-q in org-mode is still bound to the exact same function, how
> come it
> behaves differently?
Usually you alter the behavior of fill-paragraph by changing the values
of `paragraph-start' and `paragraph-separate'. `fill-paragraph' and
friends consult these variables to decide what lines to fill together
into one big chunk, and what lines to keep as separate lines. Take a
look at the docstrings (and if you alter them, keep them buffer-local).
Eric
> For example I would like to be able to refill comments in python
> without messing
> up the list structure:
>
> # TODO
> # - see how to handle possible interconnected links between different
> projects
> # - add some ways to declare more possible branches
> # - the name of the protocol is not necessary unless it's HTTP
>
> Ideas?
>
>
--
GNU Emacs 24.0.92.1 (i686-pc-linux-gnu, GTK+ Version 2.24.6)
of 2011-12-07 on pellet
Org-mode version 7.7 (release_7.7.626.g4a48)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: fill-paragraph?
2011-12-09 15:35 fill-paragraph? Andrea Crotti
2011-12-10 5:20 ` fill-paragraph? Eric Abrahamsen
@ 2011-12-10 8:10 ` Samuel Wales
1 sibling, 0 replies; 3+ messages in thread
From: Samuel Wales @ 2011-12-10 8:10 UTC (permalink / raw)
To: Andrea Crotti; +Cc: emacs-orgmode
Hi Andrea,
See fill-paragraph-function.
See also filladapt.el and my improvement to filladapt for Org posted
to this list.
Samuel
--
The Kafka Pandemic: http://thekafkapandemic.blogspot.com
===
Bigotry against people with serious diseases is still bigotry.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-10 8:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-09 15:35 fill-paragraph? Andrea Crotti
2011-12-10 5:20 ` fill-paragraph? Eric Abrahamsen
2011-12-10 8:10 ` fill-paragraph? Samuel Wales
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.