* Annoying face customizations
@ 2009-08-13 13:38 Bernt Hansen
2009-08-14 14:30 ` Carsten Dominik
0 siblings, 1 reply; 9+ messages in thread
From: Bernt Hansen @ 2009-08-13 13:38 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
Hi Carsten,
I have a small problem with the org customize interface. I have two
systems which I sync files between using git (my Eee PC and my Linux
Workstation). I've started syncing my .emacs and custom.el files along
with my org-mode files.
Both systems are running the same version of GNU Emacs 22.2.1
(i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven,
modified by Debian and org-mode.
However on my workstation when I customize org-tags-alist or
org-agenda-custom-commands I get face information embedded in the data
like this:
,----
| '(org-tag-alist (quote ((:startgroup) (#("@InTown" 0 7 (face nil)) . 116) (#("@Work" 0 5 (face org-done)) . 119) ...
`----
but my Eee PC doesn't do this. It saves changes like this
,----
| '(org-tag-alist (quote ((:startgroup) ("@InTown" . 116) ("@Work" . 119) ...
`----
This makes synchronizing changes with git a bit hard since there are
always conflicts for the different face information. Ideally I'd like
to just remove the face information completely so that it looks like the
second entry above.
Is there some way to control this?
Thanks,
Bernt
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Annoying face customizations
2009-08-13 13:38 Annoying face customizations Bernt Hansen
@ 2009-08-14 14:30 ` Carsten Dominik
2009-08-14 14:32 ` Bernt Hansen
0 siblings, 1 reply; 9+ messages in thread
From: Carsten Dominik @ 2009-08-14 14:30 UTC (permalink / raw)
To: Bernt Hansen; +Cc: Carsten Dominik, emacs-orgmode
Hi Bernt,
is it just the tags, or something else too?
- Carsten
On Aug 13, 2009, at 3:38 PM, Bernt Hansen wrote:
> Hi Carsten,
>
> I have a small problem with the org customize interface. I have two
> systems which I sync files between using git (my Eee PC and my Linux
> Workstation). I've started syncing my .emacs and custom.el files
> along
> with my org-mode files.
>
> Both systems are running the same version of GNU Emacs 22.2.1
> (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven,
> modified by Debian and org-mode.
>
> However on my workstation when I customize org-tags-alist or
> org-agenda-custom-commands I get face information embedded in the data
> like this:
>
> ,----
> | '(org-tag-alist (quote ((:startgroup) (#("@InTown" 0 7 (face
> nil)) . 116) (#("@Work" 0 5 (face org-done)) . 119) ...
> `----
>
> but my Eee PC doesn't do this. It saves changes like this
>
> ,----
> | '(org-tag-alist (quote ((:startgroup) ("@InTown" . 116)
> ("@Work" . 119) ...
> `----
>
> This makes synchronizing changes with git a bit hard since there are
> always conflicts for the different face information. Ideally I'd like
> to just remove the face information completely so that it looks like
> the
> second entry above.
>
> Is there some way to control this?
>
> Thanks,
> Bernt
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Annoying face customizations
2009-08-14 14:30 ` Carsten Dominik
@ 2009-08-14 14:32 ` Bernt Hansen
2009-08-14 14:38 ` Carsten Dominik
0 siblings, 1 reply; 9+ messages in thread
From: Bernt Hansen @ 2009-08-14 14:32 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Carsten Dominik, emacs-orgmode
Only org-tag-alist and org-agenda-custom-commands.
-Bernt
Carsten Dominik <carsten.dominik@gmail.com> writes:
> Hi Bernt,
>
> is it just the tags, or something else too?
>
> - Carsten
>
> On Aug 13, 2009, at 3:38 PM, Bernt Hansen wrote:
>
>> Hi Carsten,
>>
>> I have a small problem with the org customize interface. I have two
>> systems which I sync files between using git (my Eee PC and my Linux
>> Workstation). I've started syncing my .emacs and custom.el files
>> along
>> with my org-mode files.
>>
>> Both systems are running the same version of GNU Emacs 22.2.1
>> (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven,
>> modified by Debian and org-mode.
>>
>> However on my workstation when I customize org-tags-alist or
>> org-agenda-custom-commands I get face information embedded in the data
>> like this:
>>
>> ,----
>> | '(org-tag-alist (quote ((:startgroup) (#("@InTown" 0 7 (face
>> nil)) . 116) (#("@Work" 0 5 (face org-done)) . 119) ...
>> `----
>>
>> but my Eee PC doesn't do this. It saves changes like this
>>
>> ,----
>> | '(org-tag-alist (quote ((:startgroup) ("@InTown" . 116) ("@Work"
>> . 119) ...
>> `----
>>
>> This makes synchronizing changes with git a bit hard since there are
>> always conflicts for the different face information. Ideally I'd like
>> to just remove the face information completely so that it looks like
>> the
>> second entry above.
>>
>> Is there some way to control this?
>>
>> Thanks,
>> Bernt
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Annoying face customizations
2009-08-14 14:32 ` Bernt Hansen
@ 2009-08-14 14:38 ` Carsten Dominik
2009-08-14 14:43 ` Bernt Hansen
0 siblings, 1 reply; 9+ messages in thread
From: Carsten Dominik @ 2009-08-14 14:38 UTC (permalink / raw)
To: Bernt Hansen; +Cc: Carsten Dominik, emacs-orgmode
On Aug 14, 2009, at 4:32 PM, Bernt Hansen wrote:
> Only org-tag-alist and org-agenda-custom-commands.
Do you see face information in the agenda custom commands?
This is strange, because they are not made by parsing some buffer.
Maybe you cut/paste some text for the custom commands from some
fontified buffer?
- Carsten
>
> -Bernt
>
>
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> Hi Bernt,
>>
>> is it just the tags, or something else too?
>>
>> - Carsten
>>
>> On Aug 13, 2009, at 3:38 PM, Bernt Hansen wrote:
>>
>>> Hi Carsten,
>>>
>>> I have a small problem with the org customize interface. I have two
>>> systems which I sync files between using git (my Eee PC and my Linux
>>> Workstation). I've started syncing my .emacs and custom.el files
>>> along
>>> with my org-mode files.
>>>
>>> Both systems are running the same version of GNU Emacs 22.2.1
>>> (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven,
>>> modified by Debian and org-mode.
>>>
>>> However on my workstation when I customize org-tags-alist or
>>> org-agenda-custom-commands I get face information embedded in the
>>> data
>>> like this:
>>>
>>> ,----
>>> | '(org-tag-alist (quote ((:startgroup) (#("@InTown" 0 7 (face
>>> nil)) . 116) (#("@Work" 0 5 (face org-done)) . 119) ...
>>> `----
>>>
>>> but my Eee PC doesn't do this. It saves changes like this
>>>
>>> ,----
>>> | '(org-tag-alist (quote ((:startgroup) ("@InTown" . 116) ("@Work"
>>> . 119) ...
>>> `----
>>>
>>> This makes synchronizing changes with git a bit hard since there are
>>> always conflicts for the different face information. Ideally I'd
>>> like
>>> to just remove the face information completely so that it looks like
>>> the
>>> second entry above.
>>>
>>> Is there some way to control this?
>>>
>>> Thanks,
>>> Bernt
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Annoying face customizations
2009-08-14 14:38 ` Carsten Dominik
@ 2009-08-14 14:43 ` Bernt Hansen
2009-08-14 15:19 ` Bernt Hansen
2009-08-14 15:26 ` Carsten Dominik
0 siblings, 2 replies; 9+ messages in thread
From: Bernt Hansen @ 2009-08-14 14:43 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Carsten Dominik, emacs-orgmode
Carsten Dominik <carsten.dominik@gmail.com> writes:
> On Aug 14, 2009, at 4:32 PM, Bernt Hansen wrote:
>
>> Only org-tag-alist and org-agenda-custom-commands.
>
> Do you see face information in the agenda custom commands?
> This is strange, because they are not made by parsing some buffer.
> Maybe you cut/paste some text for the custom commands from some
> fontified buffer?
Hmmm maybe. I didn't do that intentionally. :)
I see face information in the custom commands.
C-h v org-agenda-custom-commands shows (on my workstation)
,----
| Value:
| (("s" "Started Tasks" todo
| #("STARTED" 0 7
| (face org-warning))
| ((org-agenda-todo-ignore-with-date nil)))
| ("w" "Tasks waiting on something" tags
| #("WAITING/!" 0 9
| (face org-warning))
| ((org-use-tag-inheritance nil)))
| ("r" "Refile New Notes and Tasks" tags
| #("LEVEL=1+REFILE" 0 14
| (face org-warning))
| ((org-agenda-todo-ignore-with-date nil)))
| ("N" "Notes" tags
| #("NOTE" 0 4
| (face org-warning))
| nil)
| ("n" "Next" tags
| #("NEXT-WAITING/!" 0 14
| (face org-warning))
| nil))
`----
After clicking the _Customize_ button the values ('WAITING/!', 'NOTE',
etc) are all RED.
This only happens on my workstation. I just don't know how to get this
to stop - it's been like this for a _long_ time (over a year?)
-Bernt
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Annoying face customizations
2009-08-14 14:43 ` Bernt Hansen
@ 2009-08-14 15:19 ` Bernt Hansen
2009-08-14 15:26 ` Carsten Dominik
1 sibling, 0 replies; 9+ messages in thread
From: Bernt Hansen @ 2009-08-14 15:19 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Carsten Dominik, emacs-orgmode
I think maybe I've fixed this by deleting the entries in the customize
interface and recreating them from scratch with identical detail.
I'll let you know if it shows up again.
Thanks,
Bernt
Bernt Hansen <bernt@norang.ca> writes:
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On Aug 14, 2009, at 4:32 PM, Bernt Hansen wrote:
>>
>>> Only org-tag-alist and org-agenda-custom-commands.
>>
>> Do you see face information in the agenda custom commands?
>> This is strange, because they are not made by parsing some buffer.
>> Maybe you cut/paste some text for the custom commands from some
>> fontified buffer?
>
> Hmmm maybe. I didn't do that intentionally. :)
> I see face information in the custom commands.
>
> C-h v org-agenda-custom-commands shows (on my workstation)
>
> ,----
> | Value:
> | (("s" "Started Tasks" todo
> | #("STARTED" 0 7
> | (face org-warning))
> | ((org-agenda-todo-ignore-with-date nil)))
> | ("w" "Tasks waiting on something" tags
> | #("WAITING/!" 0 9
> | (face org-warning))
> | ((org-use-tag-inheritance nil)))
> | ("r" "Refile New Notes and Tasks" tags
> | #("LEVEL=1+REFILE" 0 14
> | (face org-warning))
> | ((org-agenda-todo-ignore-with-date nil)))
> | ("N" "Notes" tags
> | #("NOTE" 0 4
> | (face org-warning))
> | nil)
> | ("n" "Next" tags
> | #("NEXT-WAITING/!" 0 14
> | (face org-warning))
> | nil))
> `----
>
> After clicking the _Customize_ button the values ('WAITING/!', 'NOTE',
> etc) are all RED.
>
> This only happens on my workstation. I just don't know how to get this
> to stop - it's been like this for a _long_ time (over a year?)
>
> -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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Annoying face customizations
2009-08-14 14:43 ` Bernt Hansen
2009-08-14 15:19 ` Bernt Hansen
@ 2009-08-14 15:26 ` Carsten Dominik
2009-08-14 15:40 ` Bernt Hansen
1 sibling, 1 reply; 9+ messages in thread
From: Carsten Dominik @ 2009-08-14 15:26 UTC (permalink / raw)
To: Bernt Hansen; +Cc: Carsten Dominik, emacs-orgmode
On Aug 14, 2009, at 5:19 PM, Bernt Hansen wrote:
> I think maybe I've fixed this by deleting the entries in the customize
> interface and recreating them from scratch with identical detail.
Hi Bernt,
No, this will com back when you use the agenda or change
any tags with the fast tag interface.
What comes blow is a simpler technique to get rid of the properties:
I have now removed one reason why these things might get text
properties. Please pull, then do this:
1. Call your agenda C-c a a.
2. Evaluate this form
(setq org-tag-alist
(mapcar (lambda (x)
(if (stringp (car x))
(set-text-properties 0 (length (car x)) nil (car x)))
x)
org-tag-alist))
3. Customize both variables, and press Se and Save for both of them.
4. Let me know if the problem re-appears (it will if you ever use
an oder version of Org, either calling the agenda or setting tags.
HTH
- Carsten
On Aug 14, 2009, at 4:43 PM, Bernt Hansen wrote:
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On Aug 14, 2009, at 4:32 PM, Bernt Hansen wrote:
>>
>>> Only org-tag-alist and org-agenda-custom-commands.
>>
>> Do you see face information in the agenda custom commands?
>> This is strange, because they are not made by parsing some buffer.
>> Maybe you cut/paste some text for the custom commands from some
>> fontified buffer?
>
> Hmmm maybe. I didn't do that intentionally. :)
> I see face information in the custom commands.
>
> C-h v org-agenda-custom-commands shows (on my workstation)
>
> ,----
> | Value:
> | (("s" "Started Tasks" todo
> | #("STARTED" 0 7
> | (face org-warning))
> | ((org-agenda-todo-ignore-with-date nil)))
> | ("w" "Tasks waiting on something" tags
> | #("WAITING/!" 0 9
> | (face org-warning))
> | ((org-use-tag-inheritance nil)))
> | ("r" "Refile New Notes and Tasks" tags
> | #("LEVEL=1+REFILE" 0 14
> | (face org-warning))
> | ((org-agenda-todo-ignore-with-date nil)))
> | ("N" "Notes" tags
> | #("NOTE" 0 4
> | (face org-warning))
> | nil)
> | ("n" "Next" tags
> | #("NEXT-WAITING/!" 0 14
> | (face org-warning))
> | nil))
> `----
>
> After clicking the _Customize_ button the values ('WAITING/!', 'NOTE',
> etc) are all RED.
>
> This only happens on my workstation. I just don't know how to get
> this
> to stop - it's been like this for a _long_ time (over a year?)
>
> -Bernt
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Annoying face customizations
2009-08-14 15:26 ` Carsten Dominik
@ 2009-08-14 15:40 ` Bernt Hansen
2009-08-14 17:11 ` Carsten Dominik
0 siblings, 1 reply; 9+ messages in thread
From: Bernt Hansen @ 2009-08-14 15:40 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Carsten Dominik, emacs-orgmode
Carsten Dominik <carsten.dominik@gmail.com> writes:
> On Aug 14, 2009, at 5:19 PM, Bernt Hansen wrote:
>
>> I think maybe I've fixed this by deleting the entries in the customize
>> interface and recreating them from scratch with identical detail.
>
>
>
> Hi Bernt,
>
> No, this will com back when you use the agenda or change
> any tags with the fast tag interface.
>
> What comes blow is a simpler technique to get rid of the properties:
>
> I have now removed one reason why these things might get text
> properties. Please pull, then do this:
Okay I'll try the new version. I use fast tags interface all the time.
Did you push any new commits? The most recent one I see is Bastien's
7af16c7 (org.texi: Added an index entry for the sorting of subtrees., 2009-08-14)
>
> 1. Call your agenda C-c a a.
> 2. Evaluate this form
>
>
> (setq org-tag-alist
> (mapcar (lambda (x)
> (if (stringp (car x))
> (set-text-properties 0 (length (car x)) nil (car x)))
> x)
> org-tag-alist))
>
> 3. Customize both variables, and press Se and Save for both of them.
>
> 4. Let me know if the problem re-appears (it will if you ever use
> an oder version of Org, either calling the agenda or setting tags.
>
> HTH
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Annoying face customizations
2009-08-14 15:40 ` Bernt Hansen
@ 2009-08-14 17:11 ` Carsten Dominik
0 siblings, 0 replies; 9+ messages in thread
From: Carsten Dominik @ 2009-08-14 17:11 UTC (permalink / raw)
To: Bernt Hansen; +Cc: Carsten Dominik, emacs-orgmode
On Aug 14, 2009, at 5:40 PM, Bernt Hansen wrote:
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On Aug 14, 2009, at 5:19 PM, Bernt Hansen wrote:
>>
>>> I think maybe I've fixed this by deleting the entries in the
>>> customize
>>> interface and recreating them from scratch with identical detail.
>>
>>
>>
>> Hi Bernt,
>>
>> No, this will com back when you use the agenda or change
>> any tags with the fast tag interface.
>>
>> What comes blow is a simpler technique to get rid of the properties:
>>
>> I have now removed one reason why these things might get text
>> properties. Please pull, then do this:
>
>
> Okay I'll try the new version. I use fast tags interface all the
> time.
>
> Did you push any new commits? The most recent one I see is Bastien's
> 7af16c7 (org.texi: Added an index entry for the sorting of
> subtrees., 2009-08-14)
I did now, forgot earlier... :-)
- Carsten
>
>>
>> 1. Call your agenda C-c a a.
>> 2. Evaluate this form
>>
>>
>> (setq org-tag-alist
>> (mapcar (lambda (x)
>> (if (stringp (car x))
>> (set-text-properties 0 (length (car x)) nil (car x)))
>> x)
>> org-tag-alist))
>>
>> 3. Customize both variables, and press Se and Save for both of them.
>>
>> 4. Let me know if the problem re-appears (it will if you ever use
>> an oder version of Org, either calling the agenda or setting tags.
>>
>> HTH
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-08-14 17:11 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-13 13:38 Annoying face customizations Bernt Hansen
2009-08-14 14:30 ` Carsten Dominik
2009-08-14 14:32 ` Bernt Hansen
2009-08-14 14:38 ` Carsten Dominik
2009-08-14 14:43 ` Bernt Hansen
2009-08-14 15:19 ` Bernt Hansen
2009-08-14 15:26 ` Carsten Dominik
2009-08-14 15:40 ` Bernt Hansen
2009-08-14 17:11 ` Carsten Dominik
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.