Re: [O] links to attachments don't export anymore

2013-11-18 Thread Thomas Holst
Hi,

· Nicolas Goaziou  wrote:

>> Actually, this could solved by widening the buffer before expanding the
>> link in `org-element-link-parser'.
>>
>> Though, I'm surprised that neither `org-id-get', `org-entry-get' nor, at
>> the most basic level, `org-entry-properties' remove narrowing before
>> computing their return value.
>>
>> Is there any reason for this? AFAICT, it would be better to wrap them
>> with a `org-with-wide-buffer' macro.
>
> Done for `org-entry-properties'. The regression should be fixed now.
>
> Thank you for the report.

Thanks for fixing it! I don't have time to test it today. But I will do
so tomorrow. I will report.

-- 
Bis neulich ...
  Thomas



Re: [O] [PATCH] org-compat: Support for getting data from Windows clipboard

2013-11-18 Thread Alexander Vorobiev
I too was thinking of making the change to org-get-x-clipboard-compat
instead, but somehow decided not to. It calls x-get-selection and the
latter, while it does have w32-specific flavor (in w32-common-fns.el),
doesn't seem to support clipboard and its primary purpose is stated as "Fix
interface to (X-specific) mouse.el."

As far as org-no-properties goes, I don't think it will make any difference
on Windows because it looks like only plain text is supported (see e.g.
http://www.mail-archive.com/help-emacs-windows@gnu.org/msg03026.html and
the code in http://git.savannah.gnu.org/cgit/emacs.git/tree/src/w32select.c)
anyway. So it is hard to say where the patch clearly belongs
(w32-common-fns.el (x-get-selection) perhaps?). I can move it to
org-get-x-clipboard-compat of course but some change would still need to be
done to org-get-x-clipboard because it checks for (eq window-system 'x)
explicitly. Let me know what works better.

Thanks
Alex



On Mon, Nov 18, 2013 at 5:34 AM, Fabrice Popineau <
fabrice.popin...@supelec.fr> wrote:

> Yes, you could lift the patch up to `org-get-x-clipboard-compat',
> but this way, òrg-no-properties' would be applied to the w32 data too.
> Is that relevant? I don't know if w32 clipboard data can have text
> properties.
>
> Fabrice
>
>
> 2013/11/18 Bastien 
>
>> Hi Alexander,
>>
>> Alexander Vorobiev  writes:
>>
>> > Sorry for the mis-formatting. Here is the patch as an attachment.
>>
>> Thanks -- digging into this again, maybe we need to fix
>> `org-get-x-clipboard-compat' directly?
>>
>> I'm not using Windows so I can't test the patch.
>>
>> Can a Windows user help here?
>>
>> --
>>  Bastien
>>
>>
>
>
> --
> Fabrice Popineau
> -
> SUPELEC
> Département Informatique
> 3, rue Joliot Curie
> 91192 Gif/Yvette Cedex
> Tel direct : +33 (0) 169851950
> Standard : +33 (0) 169851212
> --
>
>


Re: [O] Property drawers and Beamer

2013-11-18 Thread Marvin Doyley
Hi Nick,
This works like a charm #+OPTIONS: d:nil
Thanks you,
M

[O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-18 Thread Christopher W. Ryan
Not sure "citational" is even a word, but hopefully it conveys my meaning!

I've been using LaTeX for academic writing and reading for quite some
time, with emacs as my editor. I'm pretty familiar with managing a .bib
file containing all the references I've collected, and using it in LaTeX
\cite commands.

I've come to org-mode more recently. I'm trying to imagine how I might
use it to manage my "personal library." I have a directory full of pdf
files, each a downloaded article. Some articles I reference in papers I
write; others I just read and want to keep.  I also have a .bib file
where I put the citational material for all those articles. Whenever I
download an article, I add its entry to my .bib file. I tend to manage
this with JabRef because it searches Medline so easily, but I also will
edit the .bib file directly when necessary.

I like the idea of an org file containing the citational information
(authors, title, journal, etc)  *plus* links to the pdfs on my hard
drive, or on the internet. I could also include my notes about the
articles. But what would that org file look like? How do I insert a
reference to an article into the org file which contains the article I
am writing?

I'd be grateful for any explanations, or links to tutorials.

Thanks.

--Chris Ryan
SUNY Upstate Medical University
Binghamton, NY



Re: [O] org-shiftdown

2013-11-18 Thread Fabrice Popineau
2013/11/19 Samuel Wales 

> I have no idea.
>
> However, I have noticed that when Emacs is running, and I compile,
> some things break.  Then I have to restart Emacs.  This makes no sense
> whatsoever.  The running Emacs should not be affected by compiling
> outside of Emacs.
>
>
What do you mean by "outside of emacs" ? Because you compile asynchronously
?
That doesn't change anything. The compilation process can change any emacs
lisp data.

What I can confirm is that I also have to restart emacs from time to time.
I used org mode
intensively the last 2 days (presentation tomorrow :-)) . Org mode broke a
couple of times.
Example: I use C-c C-e l O to export to beamer. It happened that this key
sequence failed
in the middle of some byte code. If I encounter it again, I'll send a
backtrace. Albeit it will
probably be impossible to anyone to reproduce it exactly.


Fabrice


> On 11/18/13, Fabrice Popineau  wrote:
> > 2013/11/18 Samuel Wales 
> >
> >> Does this happen after you compile?
> >>
> >>
> > Seems you are right. So you must have an idea why it fails after
> compiling?
> > :-)
> >
> >
> >>  > It's true. I couldn't catch yet under what condition it happens.
> >> > I suspect some race condition or something like that.
> >> > Because it seems actually to happen randomly.
> >>
> >> --
> >> 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 NOW.
> >>
> >
> >
> >
> > --
> > Fabrice Popineau
> > -
> > SUPELEC
> > Département Informatique
> > 3, rue Joliot Curie
> > 91192 Gif/Yvette Cedex
> > Tel direct : +33 (0) 169851950
> > Standard : +33 (0) 169851212
> > --
> >
>
>
> --
> 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 NOW.
>



-- 
Fabrice Popineau
-
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
--


Re: [O] Full org-mode on unrooted Android

2013-11-18 Thread Jaromil

dear Carsten and org-mode list,

while you have discovered (too early!) ZShaolin having a working version
of Emacs that could decenlty run org-mode on an Android, I've been
caught in a kind of guilty complex by reading your mails and not having
time to fix things. I must admit, as I have admitted elsewhere, that the
inclusion of Emacs was still experimental in ZShaolin 0.7 (and that's
why is not a 1.0). I've always wanted to have Emacs org-mode usable on a
tablet myself and I consider that an ultimate goal of this development.

In 0.7 There was an issue with TMPDIR, easy to guess and repair, and
then one with the elisp files which are not included in ZShaolin, rather
shipped with another app I'm going to depend upon for the time being.

> On 24.10.2013, at 18:22, Charles Philip Chan  wrote:
> > Hi Carsten:
> >> 0.7.1, and to problem is still present.
> > Strange, what happens when you do a:
> > 
> > ,
> > | ls /sdcard/emacs/etc/charsets
> > `

> > Carsten Dominik  writes:
> Not even the emacs directory on the sdcard exists.  And yes, I *do*
> have an sdcard...  Reinstalling dos not work.

In ZShaolin I'm building almost everyting with my own toolchain, but for
the Emacs build I'm trusting Zielmicha which IMHO has made the the best
Android build around.  For the Emacs user, my app adds to it a sane
shell envionment and terminal to work. But when you start emacs in
ZShaolin there are no elisp files: these must be installed into
sdcard/emacs and this can be done by simply installing com.zielm.emacs:
https://play.google.com/store/apps/details?id=com.zielm.emacs

If both ZShaolin and this app above are installed, Emacs in ZShaolin
will start and autoload org-mode. Some things can be still made better,
to start faster for instance, like removing most language support since
Google's bionic lib has removed NLS and wide char support (they've been
so short sighted to support locales only in Java...)

Of course there is still a missing piece, that is ZShaolin itself :^)
since you need to buy it or build it, which isn't trivial at the moment.

For those here who like to try it then please accept my humble homage: a
standalone version of ZShaolin based on the latest version 0.9 where
I've managed to fix for most issues related to Emacs, which won't update
nor will require the Google Play market, and basically contains ZSh,
Emacs and a few other utilities like GnuPG, Ssh and Git.
https://files.dyne.org/zshaolin/.org-mode/ Providing you with this is
really the minimum I can do, as a very happy and enthusiast org-mode
user since years: it facilitates in so many ways my life, it is almost
embarassing to find myself in this position now. Many thanks!

ciao
 
-- 
http://jaromil.dyne.org
GPG: 6113 D89C A825 C5CE DD02  C872 73B3 5DA5 4ACB 7D10
NEW! superseeding old key C2B68E39 due to expiration date
signature and revokation history on pgp.mit.edu - plz upd



pgpT0rHKXtbFq.pgp
Description: PGP signature


Re: [O] org-shiftdown

2013-11-18 Thread Samuel Wales
I have no idea.

However, I have noticed that when Emacs is running, and I compile,
some things break.  Then I have to restart Emacs.  This makes no sense
whatsoever.  The running Emacs should not be affected by compiling
outside of Emacs.

On 11/18/13, Fabrice Popineau  wrote:
> 2013/11/18 Samuel Wales 
>
>> Does this happen after you compile?
>>
>>
> Seems you are right. So you must have an idea why it fails after compiling?
> :-)
>
>
>>  > It's true. I couldn't catch yet under what condition it happens.
>> > I suspect some race condition or something like that.
>> > Because it seems actually to happen randomly.
>>
>> --
>> 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 NOW.
>>
>
>
>
> --
> Fabrice Popineau
> -
> SUPELEC
> Département Informatique
> 3, rue Joliot Curie
> 91192 Gif/Yvette Cedex
> Tel direct : +33 (0) 169851950
> Standard : +33 (0) 169851212
> --
>


-- 
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 NOW.



Re: [O] org-shiftdown

2013-11-18 Thread Fabrice Popineau
2013/11/18 Samuel Wales 

> Does this happen after you compile?
>
>
Seems you are right. So you must have an idea why it fails after compiling?
:-)


>  > It's true. I couldn't catch yet under what condition it happens.
> > I suspect some race condition or something like that.
> > Because it seems actually to happen randomly.
>
> --
> 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 NOW.
>



-- 
Fabrice Popineau
-
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
--


Re: [O] Property drawers and Beamer

2013-11-18 Thread Nick Dokos
Nick Dokos  writes:

> Marvin Doyley  writes:
>
>> Hi there,
>>
>> Is there a way to prevent the content of a property draw from been
>> exported. I am making a presentation that plan to turn into a paper
>> later. I have placed a bunch of material in property draws that I
>> would prefer not to export.
>>
>> Thanks
>> M
>
> Untested:
>
> #+OPTIONS: d:nil
>

Should probably be

#+OPTIONS: d:nil prop:nil

but I think the latter is the default value, so they should not
be exported by default.

> See Section 12.2, "Export options", in the Org manual:
>

Should be 12.3 - I was looking at the 7.x manual before.

> (info "(org) Export options")

Check also the docstrings for the variables

org-export-with-drawers
org-export-with-properties

Nick






Re: [O] Property drawers and Beamer

2013-11-18 Thread Nick Dokos
Marvin Doyley  writes:

> Hi there,
>
> Is there a way to prevent the content of a property draw from been
> exported. I am making a presentation that plan to turn into a paper
> later. I have placed a bunch of material in property draws that I
> would prefer not to export.
>
> Thanks
> M

Untested:

#+OPTIONS: d:nil

See Section 12.2, "Export options", in the Org manual:

(info "(org) Export options")

Nick





Re: [O] org-shiftdown

2013-11-18 Thread Samuel Wales
Does this happen after you compile?

> It's true. I couldn't catch yet under what condition it happens.
> I suspect some race condition or something like that.
> Because it seems actually to happen randomly.

-- 
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 NOW.



Re: [O] My howto for Org, japanese text and furigana

2013-11-18 Thread Samuel Wales
hi andrea,

awesome!

now i want linux to display every kanji with furigana in parens no
matter where it appears!  :)

samuel

-- 
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 NOW.



Re: [O] How to filter on files

2013-11-18 Thread Rene
Eric Abrahamsen  ericabrahamsen.net> writes:

> It's a little hard to know what's wrong with org-agenda-sticky, but a
> tag-based way of doing this would be to use a #+FILETAGS: line at the
> top of each of your files. That automatically adds any tag in that line
> to the whole file, so you can de-facto filter by files.

I've tried this and it works. 

In order to keep my predefined tags (defined with org-tag-alist) along with
the FILETAGS I just had to define them with org-tag-persistent-alist.

Unfortunately this prevents the fast-tag-selection from working when calling
org-capture.

Any idea on how to keep the fast-tag-selection mechanism?

--
rene






[O] Property drawers and Beamer

2013-11-18 Thread Marvin Doyley
Hi there,

Is there a way to prevent the content of a property draw from been
exported. I am making a presentation that plan to turn into a paper later.
I have placed a bunch of material in property draws that I would prefer not
to export.

Thanks
M


Re: [O] How to filter on files

2013-11-18 Thread Rene
Michael Brand  gmail.com> writes:

> I think this simplified part of my config for
> org-agenda-custom-commands is similar to what you are looking for:

Yes.  That's exactly what I did initially.

But I find it more elegant to build the agenda once (let's say for both
office and home) and then hit a key to filter/restrict the scope to just one
broad context (let's say office tasks and appointments), instead of
rebuilding the agenda all the time.

--
rene







Re: [O] links to attachments don't export anymore

2013-11-18 Thread Nicolas Goaziou
Nicolas Goaziou  writes:

> Actually, this could solved by widening the buffer before expanding the
> link in `org-element-link-parser'.
>
> Though, I'm surprised that neither `org-id-get', `org-entry-get' nor, at
> the most basic level, `org-entry-properties' remove narrowing before
> computing their return value.
>
> Is there any reason for this? AFAICT, it would be better to wrap them
> with a `org-with-wide-buffer' macro.

Done for `org-entry-properties'. The regression should be fixed now.

Thank you for the report.


Regards,

-- 
Nicolas Goaziou



[O] patch proposal for org-clock-time% with day

2013-11-18 Thread marco paolo valerio vezzoli
Hi,
I use clocktables with the :funciton % option.
Sometime the table sums up to a time interval larger than one day so the
total may fool the regular expression:

1d 0:04 -> 4 minutes instead of 1444 minutes

I wrote a simple modification of org-clock-time% : please find it below.
I'm sure that elisp wizards can find a better solution than mine.
  Marco

(defun org-clock-time% (total &rest strings)
  "Compute a time fraction in percent.
TOTAL s a time string like 1d 10:21 specifying the total times.
STRINGS is a list of strings that should be checked for a time.
The first string that does have a time will be used.
This function is made for clock tables."
  (let ((day-re "\\([0-9]+\\)d \\([0-9]+\\):\\([0-9]+\\)")
(re "\\([0-9]+\\):\\([0-9]+\\)")
tot s)
(save-match-data
  (catch 'exit
(if (not (string-match day-re total))
(if (not (string-match re total))
(throw 'exit 0.)
  (setq tot (+ (string-to-number (match-string 2 total))
   (* 60 (string-to-number (match-string 1 total))
  (setq tot (+ (string-to-number (match-string 2 total))
   (* 60 (string-to-number (match-string 1 total)))
   (* 60 24 (string-to-number (match-string 1 total)
  (if (= tot 0.) (throw 'exit 0.)))
(while (setq s (pop strings))
  (if (string-match "\\([0-9]+\\):\\([0-9]+\\)" s)
  (throw 'exit
 (/ (* 100.0 (+ (string-to-number (match-string 2 s))
(* 60 (string-to-number
   (match-string 1 s)
tot
0


Re: [O] patch proposal for org-clock-time% with day

2013-11-18 Thread marco paolo valerio vezzoli
Another small patch: this handles also partial times > 1d.
   Marco


(defun org-clock-time% (total &rest strings)
  "Compute a time fraction in percent.
TOTAL s a time string like 10:21 specifying the total times.
STRINGS is a list of strings that should be checked for a time.
The first string that does have a time will be used.
This function is made for clock tables."
  (let ((day-re "\\([0-9]+\\)d \\([0-9]+\\):\\([0-9]+\\)")
(re "\\([0-9]+\\):\\([0-9]+\\)")
tot s)
(save-match-data
  (catch 'exit
(if (not (string-match day-re total))
(if (not (string-match re total))
(throw 'exit 0.)
  (setq tot (+ (string-to-number (match-string 2 total))
   (* 60 (string-to-number (match-string 1 total))
  (setq tot (+ (string-to-number (match-string 2 total))
   (* 60 (string-to-number (match-string 1 total)))
   (* 60 24 (string-to-number (match-string 1 total)
  (if (= tot 0.) (throw 'exit 0.)))
(while (setq s (pop strings))
  (if (string-match day-re s)
  (throw 'exit
 (/ (* 100.0 (+ (string-to-number (match-string 3 s))
(* 60 (string-to-number
   (match-string 2 s)))
(* 60 24 (string-to-number
  (match-string 1 s)
tot))
(if (string-match re s)
(throw 'exit
   (/ (* 100.0 (+ (string-to-number (match-string 2 s))
  (* 60 (string-to-number
 (match-string 1 s)
tot)
0


2013/11/18 marco paolo valerio vezzoli 

> Hi,
> I use clocktables with the :funciton % option.
> Sometime the table sums up to a time interval larger than one day so the
> total may fool the regular expression:
>
> 1d 0:04 -> 4 minutes instead of 1444 minutes
>
> I wrote a simple modification of org-clock-time% : please find it below.
> I'm sure that elisp wizards can find a better solution than mine.
>   Marco
>
> (defun org-clock-time% (total &rest strings)
>   "Compute a time fraction in percent.
> TOTAL s a time string like 1d 10:21 specifying the total times.
> STRINGS is a list of strings that should be checked for a time.
> The first string that does have a time will be used.
> This function is made for clock tables."
>   (let ((day-re "\\([0-9]+\\)d \\([0-9]+\\):\\([0-9]+\\)")
> (re "\\([0-9]+\\):\\([0-9]+\\)")
> tot s)
> (save-match-data
>   (catch 'exit
> (if (not (string-match day-re total))
> (if (not (string-match re total))
> (throw 'exit 0.)
>   (setq tot (+ (string-to-number (match-string 2 total))
>(* 60 (string-to-number (match-string 1 total))
>   (setq tot (+ (string-to-number (match-string 2 total))
>(* 60 (string-to-number (match-string 1 total)))
>(* 60 24 (string-to-number (match-string 1 total)
>   (if (= tot 0.) (throw 'exit 0.)))
> (while (setq s (pop strings))
>   (if (string-match "\\([0-9]+\\):\\([0-9]+\\)" s)
>   (throw 'exit
>  (/ (* 100.0 (+ (string-to-number (match-string 2 s))
> (* 60 (string-to-number
>(match-string 1 s)
> tot
> 0
>


Re: [O] org-shiftdown

2013-11-18 Thread Fabrice Popineau
>
>
> > Any idea on how to track what's happening ?
>
> What the value of `org-support-shift-select'?
>
>
It's true. I couldn't catch yet under what condition it happens.
I suspect some race condition or something like that.
Because it seems actually to happen randomly.

-- 
Fabrice


[O] Column view not changeable

2013-11-18 Thread Renger van Nieuwkoop
Hi
I tried to change the face of column view in the options (because it is now 
grey background with very thin fonts and hardly readable).
I set the options back to standard (as the option is "changed outside"), but 
every time I restart I get the old settings.
I looked in my .emacs file but haven't found anything that changes this face. I 
use color-theme-dark-laptop, but the same problem happens with other 
color-themes.
Could anybody help me out?

Thanks
Renger

_
Renger van Nieuwkoop
Centre of Economic Research (CER-ETH)
Zürichbergstrasse 18 (ZUE)
CH - 8032 Zürich
+41 44 632 02 63
mailto: reng...@etzh.ch
blog.modelworks.ch




Re: [O] org-shiftdown

2013-11-18 Thread Bastien
Hi Fabrice,

Fabrice Popineau  writes:

> Any idea on how to track what's happening ?

What the value of `org-support-shift-select'?

-- 
 Bastien



Re: [O] Org version mix-up

2013-11-18 Thread Bastien
Peter Davis  writes:

> The git install appears to have worked.

Great, thanks for confirming!

-- 
 Bastien



Re: [O] How to filter on files

2013-11-18 Thread Michael Brand
Hi Rene

On Mon, Nov 18, 2013 at 2:00 PM, Rene  wrote:
> Is there some config example out there?

I think this simplified part of my config for
org-agenda-custom-commands is similar to what you are looking for:

[...]
("c" "calendar c--"
 ((agenda
   ""
   ((org-agenda-files '("//notes_c.org"))
("d" "calendar cd-"
 ((agenda
   ""
   ((org-agenda-files '("//notes_c.org"
"//notes_d.org"))
("p" "calendar cdp"
 ((agenda
   ""
   ((org-agenda-files '("//notes_c.org"
"//notes_d.org"
"//notes_p.org"))
[...]

Michael



[O] org-shiftdown

2013-11-18 Thread Fabrice Popineau
I think there is a problem with it.
Sometimes I have something already selected, say I selected it with the
mouse.
Next I do shift-down and the previous selected region is deselected before
the next-line
gets selected. Normal behavior would be that the selected region
is expanded.
It does not happen all the time, but often enough to be really
annoying.
Any idea on how to track what's happening ?

Best regards,

-- 
Fabrice


Re: [O] Org version mix-up

2013-11-18 Thread Peter Davis


On 11/18/13, 4:27 AM, Bastien wrote:
Please read the Installation section of the manual carefully. If you 
install from ELPA, you need to do it from a fresh Emacs session where 
Org has not been loaded. Otherwise I'd suggest installing from git 
directly. HTH, 


I never had to install it before, since it was included with the OS X 
emacs I installed. I tried the "fresh" session ("emacs -nw 
--no-init-file"), but still was not able to get list-packages to update it.


The git install appears to have worked.

Thanks!

-pd

--
Peter Davis
The Tech Curmudgeon
www.techcurmudgeon.com




Re: [O] How to filter on files

2013-11-18 Thread Eric Abrahamsen
Rene  writes:

> Bastien  gnu.org> writes:
>
>> Rene  yahoo.com> writes:
>> 
>> > I'd have loved though to be able to switch from one view (home+office view)
>> > to another (office view) without having to reconstruct the whole
>> > agenda.
>> 
>> Maybe the `org-agenda-sticky' option can help there?
>
> Well.  Not exactly.
>
> Wouldn't I be able to work something out with 
> org-agenda-category-filter-preset?
>
> I don't know how to make this work though.
>
> Is there some config example out there?

It's a little hard to know what's wrong with org-agenda-sticky, but a
tag-based way of doing this would be to use a #+FILETAGS: line at the
top of each of your files. That automatically adds any tag in that line
to the whole file, so you can de-facto filter by files.




Re: [O] How to filter on files

2013-11-18 Thread Rene
Bastien  gnu.org> writes:

> Rene  yahoo.com> writes:
> 
> > I'd have loved though to be able to switch from one view (home+office view)
> > to another (office view) without having to reconstruct the whole
> > agenda.
> 
> Maybe the `org-agenda-sticky' option can help there?

Well.  Not exactly.

Wouldn't I be able to work something out with org-agenda-category-filter-preset?

I don't know how to make this work though.

Is there some config example out there?




[O] My howto for Org, japanese text and furigana

2013-11-18 Thread Andrea Rossetti
Hello everyone,

  by reading the suggestions from this list, I prepared
an example the Org headers one could use to write
Japanese in Org, with or without furigana signs.

  It's available at this address, under the "furigana-example"
section:

https://github.com/thesoftwarebin/the-emacs-software-bin

  It's there mainly as a reminder to myself, and it's obviously
not perfect, but I just wanted to share. In my environment
(Win 7 + Emacs 24.3 + a recent Org + a newbie user at the
console) the Org file produces proper export to HTML and PDF
output, hope it may work for other users interested in Japanese
writing too.

  Kindest regards,

  Andrea


Re: [O] [Exporter] Feature Request -extend customization options for property-drawer export

2013-11-18 Thread Thorsten Jolitz
Nicolas Goaziou  writes:

> Hello,
>
> Thorsten Jolitz  writes:
>
>> I wonder if customization options for the export of properties drawers
>> could be extended to something like this

[...]

> You can use a filter to do it, without needing to extend the variable.

Ok, thanks.

-- 
cheers,
Thorsten




Re: [O] [PATCH] org-compat: Support for getting data from Windows clipboard

2013-11-18 Thread Fabrice Popineau
Yes, you could lift the patch up to `org-get-x-clipboard-compat',
but this way, òrg-no-properties' would be applied to the w32 data too.
Is that relevant? I don't know if w32 clipboard data can have text
properties.

Fabrice


2013/11/18 Bastien 

> Hi Alexander,
>
> Alexander Vorobiev  writes:
>
> > Sorry for the mis-formatting. Here is the patch as an attachment.
>
> Thanks -- digging into this again, maybe we need to fix
> `org-get-x-clipboard-compat' directly?
>
> I'm not using Windows so I can't test the patch.
>
> Can a Windows user help here?
>
> --
>  Bastien
>
>


-- 
Fabrice Popineau
-
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
--


Re: [O] [Exporter] Feature Request -extend customization options for property-drawer export

2013-11-18 Thread Nicolas Goaziou
Hello,

Thorsten Jolitz  writes:

> I wonder if customization options for the export of properties drawers
> could be extended to something like this
>
> #+begin_src emacs-lisp
>   [...]
>   :group 'org-export-general
>   :version "24.4"
>   :package-version '(Org . "8.0")
>   :type '(choice
>   (const :tag "All properties" t)
>   (const :tag "None" nil)
>   (repeat :tag "Selected properties"
>   (string :tag "Property name"))
>   (list :tag "Ignored properties"
> (const :format "" not)
>
> (repeat :tag "Specify names of properties to ignore
> during export"
> :inline t
> (string :tag "Property name")))
>   (regexp :tag "Matched properties"))
> #+end_src
>
> with the two additional choices
>
>  - specify a list of ignored properties
>  - give a regexp and select only matched properties
>
> I find it easier to specify the properties I do *not* want to export,
> because these are often the well-known properties set/used by Org-mode
> itself, while the properties I want pto export might be all the others
> including those specified by users.
>
> Furthermore, I would like to prefix properties, e.g.
>
> * Header
>   :PROPERTIES:
>   :foo_prop1: bar1
>   :foo_prop2: bar2
>   :END:
>
> and then be able to export all properties with a given prefix (matched
> by a regexp like "foo_.+").

You can use a filter to do it, without needing to extend the variable.


Regards,

-- 
Nicolas Goaziou



[O] [Exporter] Feature Request -extend customization options for property-drawer export

2013-11-18 Thread Thorsten Jolitz

Hi List, 

I wonder if customization options for the export of properties drawers
could be extended to something like this

#+begin_src emacs-lisp
  [...]
  :group 'org-export-general
  :version "24.4"
  :package-version '(Org . "8.0")
  :type '(choice
  (const :tag "All properties" t)
  (const :tag "None" nil)
  (repeat :tag "Selected properties"
  (string :tag "Property name"))
  (list :tag "Ignored properties"
(const :format "" not)

(repeat :tag "Specify names of properties to ignore
during export"
:inline t
(string :tag "Property name")))
  (regexp :tag "Matched properties"))
#+end_src

with the two additional choices

 - specify a list of ignored properties
 - give a regexp and select only matched properties

I find it easier to specify the properties I do *not* want to export,
because these are often the well-known properties set/used by Org-mode
itself, while the properties I want pto export might be all the others
including those specified by users.

Furthermore, I would like to prefix properties, e.g.

* Header
  :PROPERTIES:
  :foo_prop1: bar1
  :foo_prop2: bar2
  :END:

and then be able to export all properties with a given prefix (matched
by a regexp like "foo_.+").

-- 
cheers,
Thorsten




Re: [O] Org version mix-up

2013-11-18 Thread Bastien
Hi Peter,

Peter Davis  writes:

> I've been running Org-mode 8 on my MacBook, and Org-mode 7.something
> on my office Mac. I've tried to upgrade the office one to 8 using the
> list-packages', and it seems to install, but org-version always shows
> up as 7.something afterwards.
>
> Now, completely outside emacs, I installed some software and my
> MacBook using MacPorts. But now somehow the org-mode on my MacBook as
> been downgraded to 7.9.3f and, of course, using list-packages to
> upgrade doesn't work.
>
> Does anyone have any clue what's going on here? I'd like to upgrade to
> 8.whatever on all machines.

Please read the Installation section of the manual carefully.
If you install from ELPA, you need to do it from a fresh Emacs
session where Org has not been loaded.

Otherwise I'd suggest installing from git directly.

HTH,

-- 
 Bastien



Re: [O] [PATCH] org-compat: Support for getting data from Windows clipboard

2013-11-18 Thread Bastien
Hi Alexander,

Alexander Vorobiev  writes:

> Sorry for the mis-formatting. Here is the patch as an attachment.

Thanks -- digging into this again, maybe we need to fix
`org-get-x-clipboard-compat' directly?

I'm not using Windows so I can't test the patch.

Can a Windows user help here?

-- 
 Bastien



[O] Is it possible to delay org-babel fontification if the source block isn't visible?

2013-11-18 Thread Oleh
Hi all,

I'm using (setq org-src-fontify-natively t) with a file of about 100
source blocks in different languages.
And I'm getting a delay of 1-2s when opening this file.
I'm sure that it's the fontification since when I turn it off, the
opening time is fine.
This file has #+STARTUP: folded, so I'm thinking that there could be
an optimization
that fontifies a source block only when it's visible.
Is this feasible/already implemented?

regards,
Oleh