Hello,
Bastien b...@gnu.org writes:
I see that turning a commented line is prevented, while turning
several commented lines is allowed. This feels weird. I don't
think we should prevent this.
What do you think?
I don't think there's much point in comparing function's behaviours when
Nicolas Goaziou n.goaz...@gmail.com writes:
Anyway, in this particular case, I guess we could consider comments as
a stack of one line elements. I added the feature.
Thanks!
--
Bastien
Hello,
Bastien b...@gnu.org writes:
I don't think we should prevent users to convert a headline into a
fixed-width line.
True. I also allowed to turn one-line elements (keywords, clock,
planning) into fixed-width areas.
Also, better to use the IGNORE-INVISIBLE arg of
org-move-to-column
Hi Nicolas,
Nicolas Goaziou n.goaz...@gmail.com writes:
True. I also allowed to turn one-line elements (keywords, clock,
planning) into fixed-width areas.
I see that turning a commented line is prevented, while turning
several commented lines is allowed. This feels weird. I don't
think we
Nicolas Goaziou n.goaz...@gmail.com writes:
Here is the function. If it is good enough, I'll add tests and wrap it
up in a patch.
I don't think we should prevent users to convert a headline into a
fixed-width line. Also, better to use the IGNORE-INVISIBLE arg of
org-move-to-column IMO.
Hello,
Bastien b...@gnu.org writes:
Nicolas Goaziou n.goaz...@gmail.com writes:
What happens if the region contains both a fixed-width area and
regular lines ?
The same than when there is no fixed-width area: we convert the region
into fixed-width. Then converting back to a regular area
Hi Nicolas,
Nicolas Goaziou n.goaz...@gmail.com writes:
So, to be clear, assuming the region encompasses everything,
: text
: text
* Headline
paragraph
paragraph
becomes
: : text
: : text
:
: * Headline
:
: paragraph
: paragraph
and
paragraph
Bastien b...@gnu.org writes:
No -- sorry. My suggestion is that this region
Some text
: and some fixed line
becomes
: Some text
: and some fixed line
If people want the behavior you describe, then using `C-x r t'
will do. Otherwise, they will want the whole region to be
Nicolas Goaziou n.goaz...@gmail.com writes:
Will
: and some fixed line
Some text
also become
: and some fixed line
: Some text
?
Yes, if beg and end of the region are in each of those two lines.
And what about headlines, e.g.
: and some fixed line
* Headline
Some
Bastien b...@altern.org writes:
The baseline is this:
- always consider regions made of whole lines
- when all lines are fixed-width in the region, C-c : converts them to
regular text
- when zero or more (but not all) lines are fixed-width, converts all
lines to fixed-width lines,
Nicolas Goaziou n.goaz...@gmail.com writes:
It is clearer now, thank you. I'll send a patch later on the ML.
Here is the function. If it is good enough, I'll add tests and wrap it
up in a patch.
#+begin_src emacs-lisp
(defun org-toggle-fixed-width ()
Toggle fixed-width markup.
Add or remove
Hi Nicolas,
Nicolas Goaziou n.goaz...@gmail.com writes:
Anyway, I removed it because, even if we want to keep it, it needs to be
rewritten, using parser and unit tests. It also needs to be renamed.
If we don't need C-c : binding, it is possible to re-implement it.
Yes, that'd be nice,
Hello,
Bastien b...@gnu.org writes:
Yes, that'd be nice, thanks.
Then it would be good to define precise specifications for it.
For example, without a region, and not at an example block, it would
probably turn the current line into a fixed-width area line. But that
doesn't make sense if the
Hi Nicolas,
Nicolas Goaziou n.goaz...@gmail.com writes:
For example, without a region, and not at an example block, it would
probably turn the current line into a fixed-width area line.
Yes.
But that doesn't make sense if the line is in a verbatim area, e.g.,
an example block. An error
Hello,
Bastien b...@gnu.org writes:
I don't think `org-toggle-fixed-width-section' should be deleted
entirely, as fixed-width text is still supported in this form:
: Some text
and using C-c : is very handy.
What do you think?
I tend to use rectangular regions for that.
Anyway, I
Hi Nicolas,
Nicolas Goaziou n.goaz...@gmail.com writes:
I'm for pushing the change to master
Done
I don't think `org-toggle-fixed-width-section' should be deleted
entirely, as fixed-width text is still supported in this form:
: Some text
and using C-c : is very handy.
What do you think?
Hi Nicolas,
Nicolas Goaziou n.goaz...@gmail.com writes:
I'm for pushing the change to master
Done
Thanks!
and documenting this feature in maint as being obsolete.
I added a few notes in ORG-NEWS. Feel free to complete them.
I will review ORG-NEWS before the next release, thanks.
--
Nick Dokos wrote:
Bastien b...@gnu.org writes:
PS: Removing COMMENT would be more problematic, as it is very handy
to temporarily prevent a section from being exported or tangled.
Doesn't a :noexport: tag do exactly that? (not sure about tangling
actually, but that should be not be a big
Sebastien Vauban sva-n...@mygooglest.com
writes:
Of course, we can wonder whether that particularity of COMMENT couldn't
or shouldn't be transported to :noexport: as well (or something extra,
such a :donothing:).
A :donothing tag or property seems more logical to me than a COMMENT
keyword
Hello,
Carsten Dominik carsten.domi...@gmail.com writes:
On 26 Jan 2014, at 23:03, Bastien b...@gnu.org wrote:
I think removing QUOTE won't hurt that much.
I agree. I would also like to see it removed.
There seems to be a consensus around it. The last question is: master or
maint?
It's
Hi Nicolas,
Nicolas Goaziou n.goaz...@gmail.com writes:
There seems to be a consensus around it. The last question is: master or
maint?
I'm for pushing the change to master and documenting this feature in
maint as being obsolete.
It's not a bugfix, more like a spring clean, but there's a
Hello,
Bastien b...@gnu.org writes:
I'm for pushing the change to master
Done
and documenting this feature in maint as being obsolete.
I added a few notes in ORG-NEWS. Feel free to complete them.
Regards,
--
Nicolas Goaziou
Hello,
Quote sections are special sections triggered when their headline
container has the QUOTE keyword in it:
* QUOTE Headline
This is a quote section.
They are inherited (as many other things) from the previous export
framework. The behaviour of this keyword in undocumented in Org
Aloha Nicolas,
Nicolas Goaziou n.goaz...@gmail.com writes:
At the moment, they are parsed specially by Org Elements, but I think it
is a mistake. Like COMMENT keyword in headlines, QUOTE is more an
instruction for the export framework. Therefore, they should be parsed
as regular sections,
Nicolas Goaziou n.goaz...@gmail.com writes:
Alternatives:
- Treat their contents as `quote-blocks' instead of `example-block'
- Remove them altogether, since they don't bring anything new.
As a side note, if they are here to stay, it would be good to document
them.
WDYT?
I'd be happy
Rasmus ras...@gmx.us writes:
Nicolas Goaziou n.goaz...@gmail.com writes:
Alternatives:
- Treat their contents as `quote-blocks' instead of `example-block'
- Remove them altogether, since they don't bring anything new.
As a side note, if they are here to stay, it would be good to
My guess is that quote should go. Does anybody use it?
I'd strongly want to keep comment, however, if that were questioned.
--
The Kafka Pandemic: http://thekafkapandemic.blogspot.com
The disease DOES progress. MANY people have died from it. ANYBODY can get it.
Denmark: free Karina Hansen
Hi Nicolas,
I think removing QUOTE won't hurt that much.
PS: Removing COMMENT would be more problematic, as it is very handy
to temporarily prevent a section from being exported or tangled.
--
Bastien
Bastien b...@gnu.org writes:
PS: Removing COMMENT would be more problematic, as it is very handy
to temporarily prevent a section from being exported or tangled.
Doesn't a :noexport: tag do exactly that? (not sure about tangling
actually, but that should be not be a big problem.) Why are two
Nick Dokos ndo...@gmail.com writes:
Bastien b...@gnu.org writes:
PS: Removing COMMENT would be more problematic, as it is very handy
to temporarily prevent a section from being exported or tangled.
Doesn't a :noexport: tag do exactly that? (not sure about tangling
actually, but that should
On 26 Jan 2014, at 23:03, Bastien b...@gnu.org wrote:
Hi Nicolas,
I think removing QUOTE won't hurt that much.
I agree. I would also like to see it removed.
PS: Removing COMMENT would be more problematic, as it is very handy
to temporarily prevent a section from being exported or
31 matches
Mail list logo