From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: French abbreviations for the week days (`lun.', `mar.', `mer.', ...) Date: Tue, 26 Oct 2010 10:46:06 +0200 Message-ID: <80sjztnxyp.fsf_-_@mundaneum.com> References: <878w1v4ci9.wl%ucecesf@ucl.ac.uk> <8739s2r46h.wl%ucecesf@ucl.ac.uk> <8762wwz607.fsf@fastmail.fm> <87bp6o11j6.wl%ucecesf@ucl.ac.uk> <87k4l7o4x5.wl%ucecesf@ucl.ac.uk> <87aam25gei.fsf@fastmail.fm> <17AE3133-267B-4750-9CA6-CC317B179295@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Carsten, Carsten Dominik wrote: > On Oct 25, 2010, at 7:30 PM, Matt Lundin wrote: >> Eric S Fraga writes: >>> On Sun, 24 Oct 2010 17:11:34 +0200, Rainer Thiel wrote: >>>> >>>> * TODO Class 10:00am-12:00am >>>> <%%(org-diary-class 10 18 2010 2 12 2011 3)> >>> >>> What is wrong (if you can call it that) is that the actual argument list >>> to the org-diary-class function depends on the settings of a couple of >>> variables: calendar-date-style and/or european-calendar-style. > > I have been wondering for many years: What was Edward M. Reingold thinking > when he made this horrible decision. I mean, local dependencies when pars= ing > plain text dates - I guess there is no way around it. But in a function > call? Sequence of arguments? What????? > >>> As I have the former set to 'iso, in my case >>> I need to specify dates in the Y M D order: >>> >>> * TODO Class 10:00am-12:00am >>> <%%(org-diary-class 2010 10 18 2011 2 12 3)> In the same arena, I've noticed -- since I am on a Windows computer with French locales, that I now have Frenchized abbreviations for the dates, in = the timestamps and in the agenda. For example: --8<---------------cut here---------------start------------->8--- CLOCK: [2010-10-26 mar. 09:14]--[2010-10-26 mar. 10:15] =3D> 1:01 --8<---------------cut here---------------end--------------->8--- where `mar.' represents `Tue' (mardi, Tuesday). Though, I must admit that the use of French abbreviations for the *week day= s* is not always done: at some point in time, Org reverts to using English week days abbreviations. But I still don't understand when, what's the cut-off reason for the change in behavior. Can you help, please? My params are: --8<---------------cut here---------------start------------->8--- In GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-10-14 on LENNART-69DE564 (patched) Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Org --8<---------------cut here---------------end--------------->8--- and, for the sake of completeness, here is the value of two variables which could be of interest: #+begin_src emacs-lisp (describe-variable 'calendar-date-style) #+end_src #+results: #+begin_example calendar-date-style is a variable defined in `calendar.el'. Its value is iso Documentation: Your preferred style for writing dates. The options are: `american' - month/day/year `european' - day/month/year `iso' - year/month/day This affects how dates written in your diary are interpreted. It also affects date display, as well as those calendar and diary functions that take a date as an argument, e.g. `diary-date', by changing the order in which the arguments are interpreted. Setting this variable directly does not take effect (if the calendar package is already loaded). Rather, use either M-x customize or the function `calendar-set-date-style'. You can customize this variable. This variable was introduced, or its default value was changed, in version 23.1 of Emacs. #+end_example and: #+begin_src emacs-lisp (describe-variable 'european-calendar-style) #+end_src #+results: #+begin_example european-calendar-style is a variable defined in `calendar.el'. Its value is nil This variable is obsolete since 23.1; use `calendar-date-style' instead. Documentation: Non-nil means use the European style of dates in the diary and display. In this case, a date like 1/2/1990 would be interpreted as February 1, 1990. See `diary-european-date-forms' for the default European diary date styles. Setting this variable directly does not take effect (if the calendar package is already loaded). Rather, use either M-x customize or the function `calendar-set-date-style'. You can customize this variable. #+end_example Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode