emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Question about date format
@ 2009-02-26  1:52 Petr Ruzicka
  2009-02-27 14:01 ` Giovanni Ridolfi
  0 siblings, 1 reply; 6+ messages in thread
From: Petr Ruzicka @ 2009-02-26  1:52 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 675 bytes --]

Hi,
I'm using Org on Windows with Czech enviroment. When I clock-in event I
always get abbreviation of weekday in wrong encoding " [2009-02-26 èt
02:36]", it should be  "[2009-02-26 čt 02:36]".
I found that I could use "org-time-stamp-custom-formats" to remove
abbreviation (%a), however I like the name of the day :)
Could somebody help me how to setup Emacs, ie. what function does Org use in
order to get date ?
Right now I have (setq default-input-enviroment "czech-qwerty") and
(set-language-environment "Czech") in my .emacs file and I'm able to do
everything I need, except those dates (so i guess I'm stil lmissing
something)
Thank you

Petr Ruzicka

[-- Attachment #1.2: Type: text/html, Size: 757 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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] 6+ messages in thread

* Re: Question about date format
  2009-02-26  1:52 Question about date format Petr Ruzicka
@ 2009-02-27 14:01 ` Giovanni Ridolfi
  2009-02-27 14:58   ` Petr Ruzicka
  2009-02-27 15:41   ` Carsten Dominik
  0 siblings, 2 replies; 6+ messages in thread
From: Giovanni Ridolfi @ 2009-02-27 14:01 UTC (permalink / raw)
  To: emacs-orgmode, Petr Ruzicka

--- Gio 26/2/09, Petr Ruzicka <pruzicka@gmail.com> ha scritto:
> I'm using Org on Windows with Czech enviroment. 
Hi, Petr,

I'm using M$Widows XP in an Italian environment.
Emacs 22.3 and Emacs 23.0.9

The abbreviations of weekdays are correct in Italian:

 DEADLINE: <2009-01-14 mer +1m>   CLOSED: [2009-02-27 ven 14:08]

and  have nothing special in my .emacs

> [2009-02-26 èt 02:36]", it should be  
> [2009-02-26 čt 02:36]".

I think the problem is the accented letter in the time format.
+ Perhaps the time and date format of Emacs/Org-mode 
  does not use UTF-8.
+ Carsten, could it be a bug of Emacs itself?

However before we file a bug vs Emacs we should be sure what  
the Petr's file encoding (utf-8 ?) is.
Petr, could you please try:

C-x RET f  TAB   # to see/change  file encoding

Giovanni

__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about date format
  2009-02-27 14:01 ` Giovanni Ridolfi
@ 2009-02-27 14:58   ` Petr Ruzicka
  2009-02-27 15:41   ` Carsten Dominik
  1 sibling, 0 replies; 6+ messages in thread
From: Petr Ruzicka @ 2009-02-27 14:58 UTC (permalink / raw)
  To: giovanni.ridolfi; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1317 bytes --]

Hi,
my encoding is ISO-8859-2. However, when I change to UTF-8 situation stays
the same.
Thanks for help

Petr

On Fri, Feb 27, 2009 at 3:01 PM, Giovanni Ridolfi <giovanni.ridolfi@yahoo.it
> wrote:

> --- Gio 26/2/09, Petr Ruzicka <pruzicka@gmail.com> ha scritto:
> > I'm using Org on Windows with Czech enviroment.
> Hi, Petr,
>
> I'm using M$Widows XP in an Italian environment.
> Emacs 22.3 and Emacs 23.0.9
>
> The abbreviations of weekdays are correct in Italian:
>
>  DEADLINE: <2009-01-14 mer +1m>   CLOSED: [2009-02-27 ven 14:08]
>
> and  have nothing special in my .emacs
>
> > [2009-02-26 èt 02:36]", it should be
> > [2009-02-26 čt 02:36]".
>
> I think the problem is the accented letter in the time format.
> + Perhaps the time and date format of Emacs/Org-mode
>  does not use UTF-8.
> + Carsten, could it be a bug of Emacs itself?
>
> However before we file a bug vs Emacs we should be sure what
> the Petr's file encoding (utf-8 ?) is.
> Petr, could you please try:
>
> C-x RET f  TAB   # to see/change  file encoding
>
> Giovanni
>
> __________________________________________________
> Do You Yahoo!?
> Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto
> spazio gratuito per i tuoi file e i messaggi
> http://mail.yahoo.it
>
>

[-- Attachment #1.2: Type: text/html, Size: 1907 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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] 6+ messages in thread

* Re: Question about date format
  2009-02-27 14:01 ` Giovanni Ridolfi
  2009-02-27 14:58   ` Petr Ruzicka
@ 2009-02-27 15:41   ` Carsten Dominik
  2009-02-27 16:52     ` Petr Ruzicka
  1 sibling, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2009-02-27 15:41 UTC (permalink / raw)
  To: giovanni.ridolfi; +Cc: Petr Ruzicka, emacs-orgmode


On Feb 27, 2009, at 3:01 PM, Giovanni Ridolfi wrote:

> --- Gio 26/2/09, Petr Ruzicka <pruzicka@gmail.com> ha scritto:
>> I'm using Org on Windows with Czech enviroment.
> Hi, Petr,
>
> I'm using M$Widows XP in an Italian environment.
> Emacs 22.3 and Emacs 23.0.9
>
> The abbreviations of weekdays are correct in Italian:
>
> DEADLINE: <2009-01-14 mer +1m>   CLOSED: [2009-02-27 ven 14:08]
>
> and  have nothing special in my .emacs
>
>> [2009-02-26 èt 02:36]", it should be
>> [2009-02-26 čt 02:36]".
>
> I think the problem is the accented letter in the time format.
> + Perhaps the time and date format of Emacs/Org-mode
>  does not use UTF-8.
> + Carsten, could it be a bug of Emacs itself?

The time string comes directly from `format-time-string', an Emacs  
function.

- Carsten

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about date format
  2009-02-27 15:41   ` Carsten Dominik
@ 2009-02-27 16:52     ` Petr Ruzicka
  2009-05-25  7:19       ` Petr Ruzicka
  0 siblings, 1 reply; 6+ messages in thread
From: Petr Ruzicka @ 2009-02-27 16:52 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1099 bytes --]

So I guess it's more Emacs thing than Org, could someone please kick me in a
right direction as I'm really lost.
Thank you

Petr Ruzicka

On Fri, Feb 27, 2009 at 4:41 PM, Carsten Dominik <dominik@science.uva.nl>wrote:

>
> On Feb 27, 2009, at 3:01 PM, Giovanni Ridolfi wrote:
>
>  --- Gio 26/2/09, Petr Ruzicka <pruzicka@gmail.com> ha scritto:
>>
>>> I'm using Org on Windows with Czech enviroment.
>>>
>> Hi, Petr,
>>
>> I'm using M$Widows XP in an Italian environment.
>> Emacs 22.3 and Emacs 23.0.9
>>
>> The abbreviations of weekdays are correct in Italian:
>>
>> DEADLINE: <2009-01-14 mer +1m>   CLOSED: [2009-02-27 ven 14:08]
>>
>> and  have nothing special in my .emacs
>>
>>  [2009-02-26 èt 02:36]", it should be
>>> [2009-02-26 čt 02:36]".
>>>
>>
>> I think the problem is the accented letter in the time format.
>> + Perhaps the time and date format of Emacs/Org-mode
>>  does not use UTF-8.
>> + Carsten, could it be a bug of Emacs itself?
>>
>
> The time string comes directly from `format-time-string', an Emacs
> function.
>
> - Carsten
>
>

[-- Attachment #1.2: Type: text/html, Size: 2007 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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] 6+ messages in thread

* Re: Question about date format
  2009-02-27 16:52     ` Petr Ruzicka
@ 2009-05-25  7:19       ` Petr Ruzicka
  0 siblings, 0 replies; 6+ messages in thread
From: Petr Ruzicka @ 2009-05-25  7:19 UTC (permalink / raw)
  To: emacs-orgmode

Hi,
so for the record, setting that fixed my issue was
"(set-w32-system-coding-system 'iso-8859-2)". Original value was
cp1250.
Everything works just fine now.
Thank you

Petr

On Fri, Feb 27, 2009 at 6:52 PM, Petr Ruzicka <pruzicka@gmail.com> wrote:
> So I guess it's more Emacs thing than Org, could someone please kick me in a
> right direction as I'm really lost.
> Thank you
>
> Petr Ruzicka
>
> On Fri, Feb 27, 2009 at 4:41 PM, Carsten Dominik <dominik@science.uva.nl>
> wrote:
>>
>> On Feb 27, 2009, at 3:01 PM, Giovanni Ridolfi wrote:
>>
>>> --- Gio 26/2/09, Petr Ruzicka <pruzicka@gmail.com> ha scritto:
>>>>
>>>> I'm using Org on Windows with Czech enviroment.
>>>
>>> Hi, Petr,
>>>
>>> I'm using M$Widows XP in an Italian environment.
>>> Emacs 22.3 and Emacs 23.0.9
>>>
>>> The abbreviations of weekdays are correct in Italian:
>>>
>>> DEADLINE: <2009-01-14 mer +1m>   CLOSED: [2009-02-27 ven 14:08]
>>>
>>> and  have nothing special in my .emacs
>>>
>>>> [2009-02-26 èt 02:36]", it should be
>>>> [2009-02-26 čt 02:36]".
>>>
>>> I think the problem is the accented letter in the time format.
>>> + Perhaps the time and date format of Emacs/Org-mode
>>>  does not use UTF-8.
>>> + Carsten, could it be a bug of Emacs itself?
>>
>> The time string comes directly from `format-time-string', an Emacs
>> function.
>>
>> - Carsten
>>
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-25  7:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-26  1:52 Question about date format Petr Ruzicka
2009-02-27 14:01 ` Giovanni Ridolfi
2009-02-27 14:58   ` Petr Ruzicka
2009-02-27 15:41   ` Carsten Dominik
2009-02-27 16:52     ` Petr Ruzicka
2009-05-25  7:19       ` Petr Ruzicka

Code repositories for project(s) associated with this 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).