* Latest clocktable mis-formats headings
@ 2014-08-30 15:00 Tory S. Anderson
2014-08-30 15:36 ` Dieter Schön
2014-08-31 9:08 ` Nicolas Goaziou
0 siblings, 2 replies; 11+ messages in thread
From: Tory S. Anderson @ 2014-08-30 15:00 UTC (permalink / raw)
To: orgmode list
My latest clocktables have started to stumble on the formatting of subheadings; some of the leading "*" of the items seem to be making it into the table as "\emsp". What's the problem?
Example:
#+BEGIN: clocktable :maxlevel 4 :scope subtree
#+CAPTION: Clock summary at [2014-08-30 Sat 10:58]
| Headline | Time | | | |
|---------------------------------------+---------+---+-------+------|
| *Total time* | *24:45* | | | |
|---------------------------------------+---------+---+-------+------|
| \emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::Work%20Week%204%20<2014-08-25%20Mon>--<2014-08-30%20Sat>][Work Week 4 <2014-08-25...]] | | | 24:45 | |
| \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::NRL][NRL]] | | | | 2:55 |
| \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::GRA%20w/Murray][GRA w/Murray]] | | | | 7:34 |
| \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::8803%20Work][8803 Work]] | | | | 3:50 |
| \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::8801%20Work][8801 Work]] | | | | 1:00 |
| \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::CS%207637%20Work][CS 7637 Work]] | | | | 8:41 |
| \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::Personal%20Writing][Personal Writing]] | | | | 0:45 |
#+END:
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Latest clocktable mis-formats headings
2014-08-30 15:00 Latest clocktable mis-formats headings Tory S. Anderson
@ 2014-08-30 15:36 ` Dieter Schön
2014-08-31 9:08 ` Nicolas Goaziou
1 sibling, 0 replies; 11+ messages in thread
From: Dieter Schön @ 2014-08-30 15:36 UTC (permalink / raw)
To: orgmode list
[-- Attachment #1: Type: text/plain, Size: 1872 bytes --]
Hi,
I had the same problem, and I could solve it by removing an org installation in .emacs.d/elpa.
(My regular org installation is a git sandbox).
Regards,
Dieter
On 30. August 2014 17:00:39 MESZ, torys.anderson@gmail.com wrote:
>My latest clocktables have started to stumble on the formatting of
>subheadings; some of the leading "*" of the items seem to be making it
>into the table as "\emsp". What's the problem?
>
>Example:
>
>#+BEGIN: clocktable :maxlevel 4 :scope subtree
>#+CAPTION: Clock summary at [2014-08-30 Sat 10:58]
>| Headline | Time | | | |
>|---------------------------------------+---------+---+-------+------|
>| *Total time* | *24:45* | | | |
>|---------------------------------------+---------+---+-------+------|
>| \emsp\emsp
>[[file:/home/torys/emacs/Notes/Work.org::Work%20Week%204%20<2014-08-25%20Mon>--<2014-08-30%20Sat>][Work
>Week 4 <2014-08-25...]] | | | 24:45 | |
>| \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::NRL][NRL]]
> | | | | 2:55 |
>| \emsp\emsp\emsp
>[[file:/home/torys/emacs/Notes/Work.org::GRA%20w/Murray][GRA w/Murray]]
> | | | | 7:34 |
>| \emsp\emsp\emsp
>[[file:/home/torys/emacs/Notes/Work.org::8803%20Work][8803 Work]]
> | | | | 3:50 |
>| \emsp\emsp\emsp
>[[file:/home/torys/emacs/Notes/Work.org::8801%20Work][8801 Work]]
> | | | | 1:00 |
>| \emsp\emsp\emsp
>[[file:/home/torys/emacs/Notes/Work.org::CS%207637%20Work][CS 7637
>Work]] | | | | 8:41 |
>| \emsp\emsp\emsp
>[[file:/home/torys/emacs/Notes/Work.org::Personal%20Writing][Personal
>Writing]] | | | | 0:45 |
>#+END:
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
[-- Attachment #2: Type: text/html, Size: 2375 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Latest clocktable mis-formats headings
2014-08-30 15:00 Latest clocktable mis-formats headings Tory S. Anderson
2014-08-30 15:36 ` Dieter Schön
@ 2014-08-31 9:08 ` Nicolas Goaziou
2014-08-31 11:51 ` Tory S. Anderson
1 sibling, 1 reply; 11+ messages in thread
From: Nicolas Goaziou @ 2014-08-31 9:08 UTC (permalink / raw)
To: Tory S. Anderson; +Cc: orgmode list
Hello,
torys.anderson@gmail.com (Tory S. Anderson) writes:
> My latest clocktables have started to stumble on the formatting of subheadings; some of the leading "*" of the items seem to be making it into the table as "\emsp". What's the problem?
>
> Example:
>
> #+BEGIN: clocktable :maxlevel 4 :scope subtree
> #+CAPTION: Clock summary at [2014-08-30 Sat 10:58]
> | Headline | Time | | | |
> |---------------------------------------+---------+---+-------+------|
> | *Total time* | *24:45* | | | |
> |---------------------------------------+---------+---+-------+------|
> | \emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::Work%20Week%204%20<2014-08-25%20Mon>--<2014-08-30%20Sat>][Work Week 4 <2014-08-25...]] | | | 24:45 | |
> | \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::NRL][NRL]] | | | | 2:55 |
> | \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::GRA%20w/Murray][GRA w/Murray]] | | | | 7:34 |
> | \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::8803%20Work][8803 Work]] | | | | 3:50 |
> | \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::8801%20Work][8801 Work]] | | | | 1:00 |
> | \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::CS%207637%20Work][CS 7637 Work]] | | | | 8:41 |
> | \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::Personal%20Writing][Personal Writing]] | | | | 0:45 |
> #+END:
AFAICT, there is nothing wrong. "\emsp" is a space. It replaces
constructs like "\__", which do not exist anymore.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Latest clocktable mis-formats headings
2014-08-31 9:08 ` Nicolas Goaziou
@ 2014-08-31 11:51 ` Tory S. Anderson
2014-08-31 12:04 ` Nicolas Goaziou
0 siblings, 1 reply; 11+ messages in thread
From: Tory S. Anderson @ 2014-08-31 11:51 UTC (permalink / raw)
To: mail, orgmode list
You cannot reproduce the problem? If I were actually getting spaces, and not "\emsp", as the content of my table, that would be best.
Org-mode version 8.2.7c (8.2.7c-51-g896fa6-elpa)
GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.10.9) of 2014-08-18 on buildvm-21.phx2.fedoraproject.org
- Tory
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> torys.anderson@gmail.com (Tory S. Anderson) writes:
>
>> My latest clocktables have started to stumble on the formatting of subheadings; some of the leading "*" of the items seem to be making it into the table as "\emsp". What's the problem?
>>
>> Example:
>>
>> #+BEGIN: clocktable :maxlevel 4 :scope subtree
>> #+CAPTION: Clock summary at [2014-08-30 Sat 10:58]
>> | Headline | Time | | | |
>> |---------------------------------------+---------+---+-------+------|
>> | *Total time* | *24:45* | | | |
>> |---------------------------------------+---------+---+-------+------|
>> | \emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::Work%20Week%204%20<2014-08-25%20Mon>--<2014-08-30%20Sat>][Work Week 4 <2014-08-25...]] | | | 24:45 | |
>> | \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::NRL][NRL]] | | | | 2:55 |
>> | \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::GRA%20w/Murray][GRA w/Murray]] | | | | 7:34 |
>> | \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::8803%20Work][8803 Work]] | | | | 3:50 |
>> | \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::8801%20Work][8801 Work]] | | | | 1:00 |
>> | \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::CS%207637%20Work][CS 7637 Work]] | | | | 8:41 |
>> | \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::Personal%20Writing][Personal Writing]] | | | | 0:45 |
>> #+END:
>
> AFAICT, there is nothing wrong. "\emsp" is a space. It replaces
> constructs like "\__", which do not exist anymore.
>
>
> Regards,
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Latest clocktable mis-formats headings
2014-08-31 11:51 ` Tory S. Anderson
@ 2014-08-31 12:04 ` Nicolas Goaziou
2014-08-31 12:10 ` Tory S. Anderson
0 siblings, 1 reply; 11+ messages in thread
From: Nicolas Goaziou @ 2014-08-31 12:04 UTC (permalink / raw)
To: Tory S. Anderson; +Cc: orgmode list
torys.anderson@gmail.com (Tory S. Anderson) writes:
> You cannot reproduce the problem?
It's probably due to the fact that I don't understand what the problem
is.
> If I were actually getting spaces, and not "\emsp", as the content of
> my table, that would be best.
That wouldn't be best, since leading and trailing spaces in cells are
ignored. Indentation wouldn't survive export.
You can also use ":indent nil" parameter. Or set `org-pretty-entities'
to a non-nil value.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Latest clocktable mis-formats headings
2014-08-31 12:04 ` Nicolas Goaziou
@ 2014-08-31 12:10 ` Tory S. Anderson
2014-08-31 12:14 ` Nicolas Goaziou
0 siblings, 1 reply; 11+ messages in thread
From: Tory S. Anderson @ 2014-08-31 12:10 UTC (permalink / raw)
To: orgmode list, mail
Ah. So does the current code, which uses \emsp (which, if displayed properly, would be what I meant by "giving me a space") assume a non-nil org-pretty-entities? I would have hoped that would be mentioned, or defaulted, somewhere...
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> torys.anderson@gmail.com (Tory S. Anderson) writes:
>
>> You cannot reproduce the problem?
>
> It's probably due to the fact that I don't understand what the problem
> is.
>
>> If I were actually getting spaces, and not "\emsp", as the content of
>> my table, that would be best.
>
> That wouldn't be best, since leading and trailing spaces in cells are
> ignored. Indentation wouldn't survive export.
>
> You can also use ":indent nil" parameter. Or set `org-pretty-entities'
> to a non-nil value.
>
>
> Regards,
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Latest clocktable mis-formats headings
2014-08-31 12:10 ` Tory S. Anderson
@ 2014-08-31 12:14 ` Nicolas Goaziou
2014-10-24 21:10 ` Dave Marquardt
0 siblings, 1 reply; 11+ messages in thread
From: Nicolas Goaziou @ 2014-08-31 12:14 UTC (permalink / raw)
To: Tory S. Anderson; +Cc: orgmode list
torys.anderson@gmail.com (Tory S. Anderson) writes:
> Ah. So does the current code, which uses \emsp (which, if displayed
> properly, would be what I meant by "giving me a space") assume
> a non-nil org-pretty-entities? I would have hoped that would be
> mentioned, or defaulted, somewhere...
It doesn't require a non-nil `org-pretty-entities'. This is only
eye-candy.
OTOH, it assumes `org-export-with-entities' is non-nil, which is the
default.
Regards,
--
Nicolas Goaziou 0x80A93738
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Latest clocktable mis-formats headings
2014-08-31 12:14 ` Nicolas Goaziou
@ 2014-10-24 21:10 ` Dave Marquardt
2014-10-24 21:20 ` Dave Marquardt
0 siblings, 1 reply; 11+ messages in thread
From: Dave Marquardt @ 2014-10-24 21:10 UTC (permalink / raw)
To: emacs-orgmode
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> torys.anderson@gmail.com (Tory S. Anderson) writes:
>
>> Ah. So does the current code, which uses \emsp (which, if displayed
>> properly, would be what I meant by "giving me a space") assume
>> a non-nil org-pretty-entities? I would have hoped that would be
>> mentioned, or defaulted, somewhere...
>
> It doesn't require a non-nil `org-pretty-entities'. This is only
> eye-candy.
>
> OTOH, it assumes `org-export-with-entities' is non-nil, which is the
> default.
Sorry to revive an old thread, but I'm also having problems with \emsp
in clocktables. I like to run M-x org-plot/gnuplot on clocktables, and
having \emsp rather than \_ in the first column causes the items in the
X axis to bleed into each other in the plot. I don't think
org-plot/gnuplot did anything with \_, but a "_" before each item in the
X axis was much less noticeable than "emsp" before each item.
I looked at the code a while back that adds \emsp, and it isn't
configurable, as far as I can tell. Is it configurable and I missed it?
I.e. is there a way to either turn off this prefixing or change the
string?
Thanks.
-Dave
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Latest clocktable mis-formats headings
2014-10-24 21:10 ` Dave Marquardt
@ 2014-10-24 21:20 ` Dave Marquardt
0 siblings, 0 replies; 11+ messages in thread
From: Dave Marquardt @ 2014-10-24 21:20 UTC (permalink / raw)
To: emacs-orgmode
Dave Marquardt <davemarq@linux.vnet.ibm.com> writes:
> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>> torys.anderson@gmail.com (Tory S. Anderson) writes:
>>
>>> Ah. So does the current code, which uses \emsp (which, if displayed
>>> properly, would be what I meant by "giving me a space") assume
>>> a non-nil org-pretty-entities? I would have hoped that would be
>>> mentioned, or defaulted, somewhere...
>>
>> It doesn't require a non-nil `org-pretty-entities'. This is only
>> eye-candy.
>>
>> OTOH, it assumes `org-export-with-entities' is non-nil, which is the
>> default.
>
> Sorry to revive an old thread, but I'm also having problems with \emsp
> in clocktables. I like to run M-x org-plot/gnuplot on clocktables, and
> having \emsp rather than \_ in the first column causes the items in the
> X axis to bleed into each other in the plot. I don't think
> org-plot/gnuplot did anything with \_, but a "_" before each item in the
> X axis was much less noticeable than "emsp" before each item.
>
> I looked at the code a while back that adds \emsp, and it isn't
> configurable, as far as I can tell. Is it configurable and I missed it?
> I.e. is there a way to either turn off this prefixing or change the
> string?
Oops, never mind. I looked again, and I can set the clocktable "indent"
option to nil, and my plot looks much better.
-Dave
^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <mailman.115.1409414440.15132.emacs-orgmode@gnu.org>]
* Re: Latest clocktable mis-formats headings
[not found] <mailman.115.1409414440.15132.emacs-orgmode@gnu.org>
@ 2014-08-30 17:39 ` Tory S. Anderson
2014-08-30 20:21 ` Tory S. Anderson
0 siblings, 1 reply; 11+ messages in thread
From: Tory S. Anderson @ 2014-08-30 17:39 UTC (permalink / raw)
To: emacs-orgmode, dieter
My elpa orgmode is running Org-mode version 8.2.7c, btw. Do others have this (possibly elpa-specific) problem?
> Date: Sat, 30 Aug 2014 17:36:24 +0200
> From: Dieter Sch?n <dieter@schoen.or.at>
> To: orgmode list <emacs-orgmode@gnu.org>
> Subject: Re: [O] Latest clocktable mis-formats headings
> Message-ID: <c4c0b4f1-62c9-4d88-b985-ee4a7829bf55@email.android.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
> I had the same problem, and I could solve it by removing an org installation in .emacs.d/elpa.
> (My regular org installation is a git sandbox).
>
> Regards,
> Dieter
>
> On 30. August 2014 17:00:39 MESZ, torys.anderson@gmail.com wrote:
>>My latest clocktables have started to stumble on the formatting of
>>subheadings; some of the leading "*" of the items seem to be making it
>>into the table as "\emsp". What's the problem?
>>
>>Example:
>>
>>#+BEGIN: clocktable :maxlevel 4 :scope subtree
>>#+CAPTION: Clock summary at [2014-08-30 Sat 10:58]
>>| Headline | Time | | | |
>>|---------------------------------------+---------+---+-------+------|
>>| *Total time* | *24:45* | | | |
>>|---------------------------------------+---------+---+-------+------|
>>| \emsp\emsp
>>[[file:/home/torys/emacs/Notes/Work.org::Work%20Week%204%20<2014-08-25%20Mon>--<2014-08-30%20Sat>][Work
>>Week 4 <2014-08-25...]] | | | 24:45 | |
>>| \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::NRL][NRL]]
>> | | | | 2:55 |
>>| \emsp\emsp\emsp
>>[[file:/home/torys/emacs/Notes/Work.org::GRA%20w/Murray][GRA w/Murray]]
>> | | | | 7:34 |
>>| \emsp\emsp\emsp
>>[[file:/home/torys/emacs/Notes/Work.org::8803%20Work][8803 Work]]
>> | | | | 3:50 |
>>| \emsp\emsp\emsp
>>[[file:/home/torys/emacs/Notes/Work.org::8801%20Work][8801 Work]]
>> | | | | 1:00 |
>>| \emsp\emsp\emsp
>>[[file:/home/torys/emacs/Notes/Work.org::CS%207637%20Work][CS 7637
>>Work]] | | | | 8:41 |
>>| \emsp\emsp\emsp
>>[[file:/home/torys/emacs/Notes/Work.org::Personal%20Writing][Personal
>>Writing]] | | | | 0:45 |
>>#+END:
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Latest clocktable mis-formats headings
2014-08-30 17:39 ` Tory S. Anderson
@ 2014-08-30 20:21 ` Tory S. Anderson
0 siblings, 0 replies; 11+ messages in thread
From: Tory S. Anderson @ 2014-08-30 20:21 UTC (permalink / raw)
To: orgmode list
I found the problem and have changed it as per below. The \emsp is being interpreted literally. I just changed mine back to underscores.
From org-clock.el:
(defun org-clocktable-indent-string (level)
(if (= level 1) ""
(let ((str " "))
(dotimes (k (1- level) str)
;; (setq str (concat "\\emsp" str))))))
(setq str (concat "__" str))))))
torys.anderson@gmail.com (Tory S. Anderson) writes:
> My elpa orgmode is running Org-mode version 8.2.7c, btw. Do others have this (possibly elpa-specific) problem?
>
>> Date: Sat, 30 Aug 2014 17:36:24 +0200
>> From: Dieter Sch?n <dieter@schoen.or.at>
>> To: orgmode list <emacs-orgmode@gnu.org>
>> Subject: Re: [O] Latest clocktable mis-formats headings
>> Message-ID: <c4c0b4f1-62c9-4d88-b985-ee4a7829bf55@email.android.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi,
>> I had the same problem, and I could solve it by removing an org installation in .emacs.d/elpa.
>> (My regular org installation is a git sandbox).
>>
>> Regards,
>> Dieter
>>
>> On 30. August 2014 17:00:39 MESZ, torys.anderson@gmail.com wrote:
>>>My latest clocktables have started to stumble on the formatting of
>>>subheadings; some of the leading "*" of the items seem to be making it
>>>into the table as "\emsp". What's the problem?
>>>
>>>Example:
>>>
>>>#+BEGIN: clocktable :maxlevel 4 :scope subtree
>>>#+CAPTION: Clock summary at [2014-08-30 Sat 10:58]
>>>| Headline | Time | | | |
>>>|---------------------------------------+---------+---+-------+------|
>>>| *Total time* | *24:45* | | | |
>>>|---------------------------------------+---------+---+-------+------|
>>>| \emsp\emsp
>>>[[file:/home/torys/emacs/Notes/Work.org::Work%20Week%204%20<2014-08-25%20Mon>--<2014-08-30%20Sat>][Work
>>>Week 4 <2014-08-25...]] | | | 24:45 | |
>>>| \emsp\emsp\emsp [[file:/home/torys/emacs/Notes/Work.org::NRL][NRL]]
>>> | | | | 2:55 |
>>>| \emsp\emsp\emsp
>>>[[file:/home/torys/emacs/Notes/Work.org::GRA%20w/Murray][GRA w/Murray]]
>>> | | | | 7:34 |
>>>| \emsp\emsp\emsp
>>>[[file:/home/torys/emacs/Notes/Work.org::8803%20Work][8803 Work]]
>>> | | | | 3:50 |
>>>| \emsp\emsp\emsp
>>>[[file:/home/torys/emacs/Notes/Work.org::8801%20Work][8801 Work]]
>>> | | | | 1:00 |
>>>| \emsp\emsp\emsp
>>>[[file:/home/torys/emacs/Notes/Work.org::CS%207637%20Work][CS 7637
>>>Work]] | | | | 8:41 |
>>>| \emsp\emsp\emsp
>>>[[file:/home/torys/emacs/Notes/Work.org::Personal%20Writing][Personal
>>>Writing]] | | | | 0:45 |
>>>#+END:
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2014-10-24 21:21 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-30 15:00 Latest clocktable mis-formats headings Tory S. Anderson
2014-08-30 15:36 ` Dieter Schön
2014-08-31 9:08 ` Nicolas Goaziou
2014-08-31 11:51 ` Tory S. Anderson
2014-08-31 12:04 ` Nicolas Goaziou
2014-08-31 12:10 ` Tory S. Anderson
2014-08-31 12:14 ` Nicolas Goaziou
2014-10-24 21:10 ` Dave Marquardt
2014-10-24 21:20 ` Dave Marquardt
[not found] <mailman.115.1409414440.15132.emacs-orgmode@gnu.org>
2014-08-30 17:39 ` Tory S. Anderson
2014-08-30 20:21 ` Tory S. Anderson
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).