Re: [BUG] org-manual: Using bookmarklet for org-capture is no longer reliable

2023-01-31 Thread Charles Philip Chan
> "Ihor" == Ihor Radchenko  writes:

Hi  Ihor,

Ihor> This is bad news.

Ihor> 17.16.2 The ‘capture’ protocol section of Org manual recommends

Ihor> To use this feature, add a bookmark with an arbitrary name, e.g.,
Ihor> ‘Org: capture’, and enter this as ‘Location’:

Ihor> javascript:location.href='org-protocol://capture?' + new
Ihor> URLSearchParams({ template: 'x', url: window.location.href, title:
Ihor> document.title, body: window.getSelection()});

Ihor> With the annoying Firefox dialogue, things get very annoying.  Even
Ihor> though I do understand the motivation of devs.  But they broke
Ihor> bookmarklets :'(

I have been using this org-protocol addon[1] for more than a year and it has
been rock solid for me. According to the author, bookmarklets are getting less
and less useful because CSP (Content Security Policy) blocking them on many
sites (for example Github)[2].

Charles

Footnotes:
[1] 
https://addons.mozilla.org/en-US/firefox/addon/org-protocol/?utm_source=addons.mozilla.org_medium=referral_content=search

[2]  https://github.com/vifon/org-protocol-for-firefox




signature.asc
Description: PGP signature


Re: 'make autoloads' works but 'make ; make autoloads' fails with a version mismatch?

2022-09-14 Thread Charles Philip Chan

> Thanks for reporting!
> Fixed on main.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=2d3802658156153974f540877a82bf5a384a2ad4

Thanks that fix it for me too.

Charles


signature.asc
Description: PGP signature


Re: Reinstalling compat fixed everything breaking

2022-09-14 Thread Charles Philip Chan
William Denton  writes:

Hello,

> Yesterday I pulled the current source trees for Org and Emacs and compiled as
> I usually do ... and everything broke, with Org complaining about mixed
> versions, and all kinds of warnings and backtraces and "Invalid function:
> compat-declare-version" errors.
>
> After looking at various things I noticed a couple of mild warnings related to
> the package compat, which I'd seen for a while (several weeks, at least) but
> never bothered about, because everything worked.  I thought maybe it was all
> connected, what with the new version-checking and such, and indeed "M-x
> package-reinstall compat" did the trick and now everything works.

I am seeing the same problem. However, it did not resolve for me after upgrading
the compat library to the current git version. I am still getting:

,
| Warning (emacs): Org version mismatch.  Make sure that correct ‘load-path’ is
| set early in init.el This warning usually appears when a built-in Org version 
is
| loaded prior to the more recent Org version.
`

during "make install". I never had this problem before.

Charles


signature.asc
Description: PGP signature


signature.asc
Description: PGP signature


Re: Reinstalling compat fixed everything breaking

2022-09-14 Thread Charles Philip Chan
William Denton  writes:

Hello,

> Yesterday I pulled the current source trees for Org and Emacs and compiled as
> I usually do ... and everything broke, with Org complaining about mixed
> versions, and all kinds of warnings and backtraces and "Invalid function:
> compat-declare-version" errors.
>
> After looking at various things I noticed a couple of mild warnings related to
> the package compat, which I'd seen for a while (several weeks, at least) but
> never bothered about, because everything worked.  I thought maybe it was all
> connected, what with the new version-checking and such, and indeed "M-x
> package-reinstall compat" did the trick and now everything works.

I am seeing the same problem. However, it did not resolve for me after upgrading
the compat library to the current git version. I am still getting:

,
| Warning (emacs): Org version mismatch.  Make sure that correct ‘load-path’ is
| set early in init.el This warning usually appears when a built-in Org version 
is
| loaded prior to the more recent Org version.
`

during "make install". I never had this problem before.

Charles


signature.asc
Description: PGP signature


Re: idea for capture anywhere in x

2022-06-10 Thread Charles Philip Chan
Samuel Wales  writes:

Hi Samuel,

> with the org capture firefox extension broken, i recalled this old
> thread, thinking it might be a fix,  and i think i understand the
> issue.  so i thought i would summarize here in this one post.

This new addon:

 
https://addons.mozilla.org/en-US/firefox/addon/org-protocol/?utm_source=addons.mozilla.org_medium=referral_content=search

is working well for me.

Charles


signature.asc
Description: PGP signature


Re: mobile org

2019-11-19 Thread Charles Philip Chan
Anssi Saari  writes:

Hi Anssi,

> Just curious but what do you sync to with Foldersync?

To a directory on my computer via sftp

>> However, I have been following Orgzly's development, Webdav and git
>> sync have just been implemented.
>
> I hadn't noticed git sync?

You won't see it yet:

https://github.com/orgzly/orgzly-android/issues/24#issuecomment-554925694

https://github.com/orgzly/orgzly-android/pull/173

Charles



signature.asc
Description: PGP signature


Re: mobile org

2019-11-17 Thread Charles Philip Chan
Jude DaShiell  writes:

Hello Jude,

> Will mobile org work in Android PI?  If not, any good alternatives beyond
> orgsly available?  I don't like to have to use dropbox and would like to
> plug a usb cord into my computer and synchtronize my orgmode files that
> way if possible.

I personally use Orgzly. I use a directory on my device as the
repository and sync it with Foldersync. However, I have been following
Orgzly's development, Webdav and git sync have just been implemented.


Charles


signature.asc
Description: PGP signature


Re: [O] ANNOUNCE: GNU Hyperbole 6.0.1 for Emacs 24.4 - 25 is released

2016-07-28 Thread Charles Philip Chan
Robert Weiner  writes:

> GNU Hyperbole (pronounced Ga-new Hi-per-bo-lee), or just Hyperbole, is
> an amazing programmable hypertextual information management system
> implemented as a GNU Emacs package.  This is the first public release
> in 2016.

Wow, blast from the past. I remember using older versions of Hyperbole
fondly and still miss it. Thank you for updating it. I look forward to
using it. :-)

Charles

-- 
"Are [Linux users] lemmings collectively jumping off of the cliff of
reliable, well-engineered commercial software?"
(By Matt Welsh)


signature.asc
Description: PGP signature


Re: [O] org-notify: Need to get notifications at the start time of the task (in addition to the deadline)

2016-06-08 Thread Charles Philip Chan
Amit Tendulkar  writes:

Hi Amit:

> I put notify.el in my load path and added the following lines in my init
> file.
>
> (autoload 'notify "notify" "Notify TITLE, BODY.")
> (appt-activate 1)
> (org-agenda-to-appt)
>
> Still I am getting only inline intimations for the appointments. Am I
> missing something?

Sorry, I set this up a long time ago, so I gave you the wrong info,
After searching my configuration files, I found this:

;; Update appt list and dbus appt notification
; Get appointments for today
(defun my-org-agenda-to-appt ()
  (interactive)
  (setq appt-time-msg-list nil)
  (let ((org-deadline-warning-days 0));; will be automatic in org 5.23
(org-agenda-to-appt)))

; Run once, activate and schedule refresh
(my-org-agenda-to-appt)
(appt-activate t)
(run-at-time "00:01" nil 'my-org-agenda-to-appt)

; 5 minute warnings
(setq appt-message-warning-time 15)
(setq appt-display-interval 5)

; Update appt each time agenda opened.
(add-hook 'org-finalize-agenda-hook 'my-org-agenda-to-appt)

; Setup zenify, we tell appt to use window, and replace default function
(setq appt-display-format 'window)
(setq appt-disp-window-function (function my-appt-disp-window))

(defun my-appt-disp-window (min-to-app new-time msg)
  (save-window-excursion
(shell-command
 (concat "/home/hoor/bin/org-appt-notify '" msg "'  '" min-to-app "'&")
 nil nil)
)
  )


and here is the content of "org-appt-notify"


#!/bin/sh
SOUND="/home/hoor/GNUstep/Library/WindowMaker/Sounds/Kopete_Received.ogg"
ICON="/home/hoor/GNUstep/Library/Icons/apps/system-config-date.tif"

ogg123 "$SOUND"
notify-send --icon="$ICON" "APPOINTMENT" "$1\ndue in $2 mins."


Charles

-- 
Your job is being a professor and researcher: That's one hell of a good excuse
for some of the brain-damages of minix.
(Linus Torvalds to Andrew Tanenbaum)


signature.asc
Description: PGP signature


Re: [O] org-notify: Need to get notifications at the start time of the task (in addition to the deadline)

2016-06-07 Thread Charles Philip Chan
Marco Wahl  writes:

> http://emacs-fu.blogspot.de/2009/11/showing-pop-ups.html
> looks promising.

This is what I use:

https://www.emacswiki.org/emacs/notify.el

Charles

-- 
"We all know Linux is great...it does infinite loops in 5 seconds."
(Linus Torvalds about the superiority of Linux on the Amsterdam
Linux Symposium)


signature.asc
Description: PGP signature


Re: [O] Commit ceae5d651b80295f35c01ecfc53661c7e8eceba7 Breaks syncing with Android

2015-09-11 Thread Charles Philip Chan
On 11 Aug 2015, cpc...@bell.net wrote:
On 11 Aug 2015, m...@nicolasgoaziou.fr wrote:

>> Do you have any other information to share? E.g., what happens when
>> syncing breaks?

> Yes. The sync fails with a "Syntax error in regexp pattern near index
> 383" error on the Android (version 5.1.1) side.

I just upgraded to the latest git version of org-mode and this problem
still persists. I have to use an older version of org-mobile for syncing
to work.

Charles

-- 
"Are [Linux users] lemmings collectively jumping off of the cliff of
reliable, well-engineered commercial software?"
(By Matt Welsh)


-- 
Linux!  Guerrilla UNIX Development Venimus, Vidimus, Dolavimus.
(By m...@ka4ybr.com, Mark A. Horton KA4YBR)


signature.asc
Description: PGP signature


Re: [O] Commit ceae5d651b80295f35c01ecfc53661c7e8eceba7 Breaks syncing with Android

2015-08-11 Thread Charles Philip Chan
On 11 Aug 2015, m...@nicolasgoaziou.fr wrote:

Hi Nicolas:

 Do you have any other information to share? E.g., what happens when
 syncing breaks?

Yes. The sync fails with a Syntax error in regexp pattern near index
383 error on the Android (version 5.1.1) side.

Charles

-- 
Are [Linux users] lemmings collectively jumping off of the cliff of
reliable, well-engineered commercial software?
(By Matt Welsh)


signature.asc
Description: PGP signature


Re: [O] Commit ceae5d651b80295f35c01ecfc53661c7e8eceba7 Breaks syncing with Android

2015-07-30 Thread Charles Philip Chan
On 30 Jul 2015, ohwoeo...@gmail.com wrote:

Hi Oleh:

 I'm pretty sure my commit isn't to blame  and you meant this one:

 c15db80e32d22dace184203f6f03a0b586bb4b50
 Author: Sergey Gordienko gordien...@gmail.com
 Date:   Fri Jun 26 17:44:20 2015 +0300

 org-mobile: Tiny fix in creating index.org file

 * lisp/org-mobile.el (org-mobile-create-index-file):
 Eliminate cloning of `#+READONLY' property in the `index.org' file.
 A sublists of `org-todo-keywords' don't need to contain the `|'.

 TINYCHANGE

 --Oleh

Yes, this is the one I meant. Sorry for quoting the wrong commit.

Charles

-- 
LILO, you've got me on my knees!
(from David Black, dbl...@pilot.njin.net, with apologies to Derek and the
Dominos, and Werner Almsberger)


signature.asc
Description: PGP signature


[O] Commit ceae5d651b80295f35c01ecfc53661c7e8eceba7 Breaks syncing with Android

2015-07-29 Thread Charles Philip Chan
Hello:

Just want to let you know, this commit:

,
| commit ceae5d651b80295f35c01ecfc53661c7e8eceba7
| Author: Oleh Krehel ohwoeo...@gmail.com
| Date:   Tue Jul 28 15:06:25 2015 +0200
| 
| lisp/org.el (org-set-tags): Simplify the code
| 
| * lisp/org.el (org-set-tags): Prefer let* to multi-variable setq,
| ...skipping...
| org-mobile: Tiny fix in creating index.org file
| 
| * lisp/org-mobile.el (org-mobile-create-index-file):
| Eliminate cloning of `#+READONLY' property in the `index.org' file.
| A sublists of `org-todo-keywords' don't need to contain the `|'.
| 
| TINYCHANGE
`

broke syncing with mobileorg on Android. After I revert to commit
5f3d8037a5099ca92db7edbf95ced22f0adefbef everything was fine.

Thanks.

Charles

-- 
Never make any mistaeks.
(Anonymous, in a mail discussion about to a kernel bug report.)


signature.asc
Description: PGP signature


Re: [O] org-image-actual-width has no effect

2014-08-28 Thread Charles Philip Chan
On 28 Aug 2014, claudius.muel...@gmail.com wrote:

 I am using emacs 24.3 in openSUSE 13.1. I have not compiled emacs
 myself, but the core imagemagick libraries are part of the
 dependencies, which makes me assume that it's been compiled with
 imagemagick support.

No, the Emacs in OpenSuSE 13.1 is not compiled with Image Magick
support- ldd /usr/bin/emacs | grep Magick produces nothing. Where as,
this is the output of my self-compiled version.

,[ ldd /usr/local/bin/emacs | grep Magick ]
| libMagickWand-6.Q16.so.1 = /usr/lib64/libMagickWand-6.Q16.so.1 
(0x7fe7e8072000)
| libMagickCore-6.Q16.so.1 = /usr/lib64/libMagickCore-6.Q16.so.1 
(0x7fe7e7bd3000
`

 I can display inline images of several file types just fine (tif, png,
 gif, ...).

This is because Emacs is using libtiff, libjpeg, libpng, libxpm etc.

Charles

-- 
I'd crawl over an acre of 'Visual This++' and 'Integrated Development
That' to get to gcc, Emacs, and gdb.  Thank you.
(By Vance Petree, Virginia Power)


signature.asc
Description: PGP signature


Re: [O] Auto-encrypting/decrypting the whole org file with EasyPG

2014-08-17 Thread Charles Philip Chan
On 17 Aug 2014, celose...@gmail.com wrote:

It works perfectly for me.

 # -*- mode: org -*- -*- epa-file-encrypt-to:
 # -*- (my@gpgkeyemail.address) -*-

No need to do that.

 I'm loading org-epa and enabling like this:

 (require 'epa-file)
 (epa-file-enable)

 And I made sure it was loaded by evaluating epa-file-enable. However,
 when I save the file, it doesn't encrypt it. I've cat'ed the file
 after saving it and it still shows the original unencrypted
 content. Am I missing something? Do I need to use a .gpg extension?

Make sure the encrypted file extension is:

,
| .org.gpg
`

Charles

-- 
Dijkstra probably hates me
(Linus Torvalds, in kernel/sched.c)


signature.asc
Description: PGP signature


Re: [O] ANN: org-vcard. Export/import vCards. Backwards-compatible with org-contacts.el.

2014-08-06 Thread Charles Philip Chan
On 6 Aug 2014, flexibe...@gmail.com wrote:

 i haven't tried using BBDB-v3, only BBDB-v2, several years ago. i
 found the latter, hm, 'clunky'. (Similar to how, until the advent of
 mu4e, i found no Emacs-based MUA with maildir support which i found as
 usable as Mutt.)

Personally I find no MUA as usable and feature rich as Gnus. ;-)

 And iirc, part of the problem might have been lack of (full) support
 for Australian phone numbers and/or postcodes, which at the time i
 really didn't want to wrestle with.

I am mainly talking about bbdb3 now, since I can't remember the variable
names in bbdb2. For phone numbers one can use free form style by calling
bbdb-insert-field with a prefix or change the variable bbdb-phone-style:

,[ bbdb-phone-style ]
| bbdb-phone-style is a variable defined in `bbdb.el'.
| Its value is nanp
| 
| Documentation:
| Phone numbering plan assumed by BBDB.
| The value 'nanp refers to the North American Numbering Plan.
| The value nil refers to a free-style numbering plan.
| 
| You can have both styles of phone number in your database by providing a
| prefix argument to the command `bbdb-insert-field'.
`

As for postal codes, either turn the checking off by setting
bbdb-check-postcode to nil or change the variable bbdb-legal-postcodes:

,[ bbdb-legal-postcodes ]
| bbdb-legal-postcodes is a variable defined in `bbdb.el'.
| Its value is
| (^$ ^[ \n]*[0-9][0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[\n]*$ ^[  
\n]*\\([0-9][0-9][0-9][0-9][0-9]\\)[\n]*-?[ 
\n]*\\([0-9][0-9][0-9][0-9]?\\)[\n]*$ ^[  \n]*\\([A-Za-z0-9]+\\)[ 
\n]+\\([A-Za-z0-9]+\\)[ \n]*$ ^[  \n]*\\([A-Z]+\\)[   
\n]*-?[ \n]*\\([0-9]+ ?[A-Z]*\\)[   \n]*$ ^[  
\n]*\\([A-Z]+\\)[   \n]*-?[ \n]*\\([0-9]+\\)[   
\n]+\\([0-9]+\\)[   \n]*$)
| 
| 
| Documentation:
| List of regexps that match legal postcodes.
| Whether this is used at all depends on the variable `bbdb-check-postcode'.
`

Charles

-- 
I did this 'cause Linux gives me a woody.  It doesn't generate revenue.
(Dave '-ddt-` Taylor, announcing DOOM for Linux)


signature.asc
Description: PGP signature


Re: [O] Setup Org-mode to write diary.

2014-07-28 Thread Charles Philip Chan
stardiviner numbch...@gmail.com writes:

 I want to know how to configure Org-mode to write diary with a easy way.
 I hope someone can provide his way.

 Here is what I think what Org-mode write diary should have.

 - [ ] *open/create* a buffer to write current day's diary quickly.

Set up a capture template using a date tree. For example, this is taken
directly from section 9.1.3 of the org-mode manual:

,
| (j Journal entry (file+datetree ~/org/journal.org)
|  * %?\nEntered on %U\n  %i\n  %a)
`

 - [ ] *navigate* diary entry like viewing day entries in Calendar.

Use the imenu menu or just fold and unfold the outline.

 - [ ] *manage* diary files with some kind of style like (date, folder,
 etc).  - [ ] *search* diary content.

Add the file to the variable org-agenda-text-search-extra-files and/or
set up a custom agenda view to search the file.

Charles

-- 
...Deep Hack Mode--that mysterious and frightening state of
consciousness where Mortal Users fear to tread.
(By Matt Welsh)


signature.asc
Description: PGP signature


Re: [O] BBDB and Org

2014-04-03 Thread Charles Philip Chan
Aric Gregson aorc...@mac.com writes:

Hi Aric:

I have no problems with bbdb (using 3 now, but 2 before) and org-mode.

 I am just wondering if there is a way to get org mode to stop playing
 with bbdb. Because I use both gnus and org, it is a bit of a hassle to
 have org always pulling bbdb away from gnus when I create an agenda.

I have no idea what you are talking about here. Please give an example.

 I don't use anniversary any longer (could not get it to work properly
 with version 3 of bbdb, despite some help from the list) and really
 don't see why org needs it.

To display it in a Agenda view. Again I have no problems have. All I
have to do is to put:

 %%(org-bbdb-anniversaries)

In one of my agenda files.

Charles

-- 
linux: because a PC is a terrible thing to waste
(k...@cis.ufl.edu put this on Tshirts in '93)


signature.asc
Description: PGP signature


Re: [O] BBDB and Org

2014-04-03 Thread Charles Philip Chan
Charles Philip Chan cpc...@bell.net writes:

 %%(org-bbdb-anniversaries)

Sorry this should be:

,
| * Anniversaries|
| :PROPERTIES:   |
| :CATEGORY: Anniv   |
| :END:  |
| %%(org-bbdb-anniversaries) |
||
`

Charles

-- 
I once witnessed a long-winded, month-long flamewar over the use of
mice vs. trackballs...It was very silly.
(By Matt Welsh)


signature.asc
Description: PGP signature


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

2013-12-05 Thread Charles Philip Chan
Eric S Fraga e.fr...@ucl.ac.uk writes:

Hi Eric:

 What do I need to do?  It would appear that my installation is not
 complete.

You need to install this:

https://play.google.com/store/apps/details?id=com.zielm.emacs

too.

Charles

-- 
...Deep Hack Mode--that mysterious and frightening state of
consciousness where Mortal Users fear to tread.
(By Matt Welsh)


signature.asc
Description: PGP signature


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

2013-10-24 Thread Charles Philip Chan
Carsten Dominik carsten.domi...@gmail.com writes:

Hi Carsten:

 Download system?  I don't see this command.

He meant check to see if you have the latest in Install System.

Charles

-- 
I did this 'cause Linux gives me a woody.  It doesn't generate revenue.
(Dave '-ddt-` Taylor, announcing DOOM for Linux)


signature.asc
Description: PGP signature


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

2013-10-24 Thread Charles Philip Chan
Carsten Dominik carsten.domi...@gmail.com writes:

Hi Carsten:

 0.7.1, and to problem is still present.

Strange, what happens when you do a:

,
| ls /sdcard/emacs/etc/charsets
`

I see a list of charsets files (files with extension .map) on my
Nexus 7. If you don't see them, try reinstalling the system to see if it
helps.

Charles

-- 
However, complexity is not always the enemy.

  -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)


signature.asc
Description: PGP signature


Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Charles Philip Chan
Christopher Culver crcul...@christopherculver.com writes:

Hi Christopher:

 I do not see anniversaries from my .bbdb file in the agenda. I know
 that some work was done in the past with making org-mode compatible
 with bbdb3, but are the two projects no longer compatible, or do I
 probably have some other problem on my end?

Works fine here (I am using the git version of both). How are you
loading bbdb? You should just do a:

  (require 'bbdb-loaddefs)

Charles

-- 
Are [Linux users] lemmings collectively jumping off of the cliff of
reliable, well-engineered commercial software?
(By Matt Welsh)


signature.asc
Description: PGP signature


Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Charles Philip Chan
Sebastien Vauban sva-n...@mygooglest.com writes:

 You mean bbdb-autoloads?

No, bbdb-loaddefs.el is part of bbdb3. Here is the instructions from the
README file:


4) Activate BBDB:

   i)   If the BBDB lisp files are in a directory
/path/to/bbdb/lisp you can use in your emacs init file

(require 'bbdb-loaddefs /path/to/bbdb/lisp/bbdb-loaddefs.el)

This adds /path/to/bbdb/lisp to the load-path; so it is all
you need to make BBDB known to your Emacs.

   ii)  The user variable bbdb-print-tex-path should point to the directory
where the BBDB TeX files reside (default /usr/local/share/bbdb).

Charles

-- 
World domination.  Fast
(By Linus Torvalds)


signature.asc
Description: PGP signature


Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Charles Philip Chan
Sebastien Vauban sva-n...@mygooglest.com writes:

Hi Sebastien:

 Weird.

 In the BBDB 3 version that I have from ELPA [1], I do have a file
 `bbdb-autoloads.el', but no `bbdb-loaddefs.el'...

Strange, the name was changed on 11 Dec 2011:

http://comments.gmane.org/gmane.emacs.bbdb.user/2945

Charles

-- 
Linux is obsolete
(Andrew Tanenbaum)


signature.asc
Description: PGP signature


Re: [O] Emulate a wiki a la wikidpad

2013-10-18 Thread Charles Philip Chan
Marcelo de Moraes Serpa celose...@gmail.com writes:

 What I'm looking for is an extension that could automatically link
 camecased words in org files, and create its respective file in a
 specific directory, if the file does not exist. I know it wouldn't be
 too difficult to implement, but I'd like to check here first before
 trying to come up with a solution myself.

org-wikinodes.el in the contrib/lisp directory?

Charles

-- 
Open Standards, Open Documents, and Open Source

  -- Scott Bradner (Open Sources, 1999 O'Reilly and Associates)


signature.asc
Description: PGP signature


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

2013-10-14 Thread Charles Philip Chan
Ian Barton li...@wilkesley.net writes:

 That looks interesting too. I have to see if it runs on my Nexus
 7. Emacs for Android is like a bus. You wait ages and nothing comes,
 then suddenly two arrive together.

I tried it on my Nexus 7 and it works. In order for org-mode to work,
you will need to set the $TMP environmental variable. Also, for font
size greater than 12 pt, you will need to start Emacs in landscape mode,
or else Emacs wouldn't start.

Charles

-- 
Whip me.  Beat me.  Make me maintain AIX.
(By Stephan Zielinski)


signature.asc
Description: PGP signature


Re: [O] from Android to org's calendar in a painless way?

2013-08-28 Thread Charles Philip Chan
Renato renn...@gmail.com writes:

Hi Renato:

 and this might be exactly what I wanted:

 https://github.com/dengste/org-caldav

 I'll have a go at it when I have some time these next days

This won't solve your problem.

Charles

-- 
Computers may be stupid, but they're always obedient. Well, almost always.

  -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)


signature.asc
Description: PGP signature


Re: [O] from Android to org's calendar in a painless way?

2013-08-28 Thread Charles Philip Chan
Renato renn...@gmail.com writes:

Hi Renato:

 I just realized that from MobileOrg you can add only TODO entries, you
 can't put an active date on it (and thus it won't show in the android
 calendar). So that really doesn't work the way I'd like.

Yes, you can, it just won't show up until you sync, pull, refile and
sync. Also, unless the bug is fixed, you can only put the timestamp in
the payload.

Charles

-- 
Linux: Because a PC is a terrible thing to waste.
(By komar...@craft.camp.clarkson.edu, Mark Komarinski)


signature.asc
Description: PGP signature


Re: [O] from Android to org's calendar in a painless way?

2013-08-28 Thread Charles Philip Chan
James Harkins  jamshar...@gmail.com writes:

 Unfortunately, new dated nodes in mobileorg don't appear in the
 calendar until after you sync to the computer and then resync to
 android. I filed a bug report about that.

I find it a lot easier and natural to add items with active timestamps
in my calendar app and let Mobileorg assimilate it.

 Also, calendar sync is not working on my Android 4 tablet after the
 most recent OS update from Asus. I've filed a bug report about that
 too, and asked on the mobileorg mailing list, but so far, no
 response. (This surprises me -- usually the list is pretty
 responsive.)

Work find on my Nexus 7 with the latest Jelly Bean. I presume your
tablet does not use vanilla Android.

Charles


signature.asc
Description: PGP signature


Re: [O] New maintainer

2013-04-19 Thread Charles Philip Chan
Bastien b...@gnu.org wrote:

Hi Bastien,

I'm stepping down as the Org maintainer.

Thank you for all the hard work you have done in maintaining Org-mode.

Carsten accepted to step up, if the community agrees.
Please raise your thumbs up or your concerns, if any.

+1

Charles


--
Sent from Kaiten Mail. Please excuse my brevity.



Re: [O] org-caldav will cease to work with Google Calendar

2013-03-15 Thread Charles Philip Chan
Julien Cubizolles j.cubizol...@free.fr writes:

Hi Julien:

 Thanks for this info but according to the documentation MobileOrg can
 synchronize your TODO items that have a DEADLINE or SCHEDULE.

This is for TODO's. Mobileorg can actually sync anything with a
timestamp, ie: appointments.

 I was using Pure Calendar, quite good also.

I have used this in the past and I like it. However, I prefer the tab
interface of Executive Assistant+.

https://play.google.com/store/apps/details?id=com.appventive.ExecAssistfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5hcHB2ZW50aXZlLkV4ZWNBc3Npc3QiXQ..

cheers,
Charles
 
-- 
The move was on to 'Free the Lizard'

  -- Jim Hamerly and Tom Paquin (Open Sources, 1999 O'Reilly and Associates)


pgpIGgoSfmWDM.pgp
Description: PGP signature


Re: [O] Org-mobile for Android and syncing

2013-03-15 Thread Charles Philip Chan
Xavier Maillard xav...@maillard.im writes:

 While talking about mobileorg features, can someone tell me which
 mobileorg it is ? I can see at least 2: mobileorg (the origianl) and
 mobileorgNG (a dead fork ?). Not clear for me.

The original.

 Also, do I have to add per file SEQ_TODO/TAGS to be able to see them in
 mobileorg ?

No.

Charles

-- 
Besides, I think [Slackware] sounds better than 'Microsoft,' don't you?
(By Patrick Volkerding)


pgpkhHK6KuVzj.pgp
Description: PGP signature


Re: [O] Org-mobile for Android and syncing

2013-03-14 Thread Charles Philip Chan
Marcin Borkowski mb...@wmi.amu.edu.pl writes:

Hi Marcin:

 I'm about to buy an Android smartphone.  Of course, I want to use
 Org-mobile.  However, I don't use Dropbox (I use another, similar
 service, called SpiderOak).  Is it possible to synchronize using such a
 service?

No currently Mobileorg does not support SpiderOak. Here is a list of
supported methods:

  - Sync files from sdcard
  - Sync files from a WebDAV server
  - Sync files from Dropbox
  - Sync files from Ubuntu One
  - Sync files from an SSH server

Charles

-- 
Oh, I've seen copies [of Linux Journal] around the terminal room at The
Labs.
(By Dennis Ritchie)


pgpYSDvol7xY4.pgp
Description: PGP signature


Re: [O] Org-mobile for Android and syncing

2013-03-14 Thread Charles Philip Chan
Subhan Tindall subhan.tind...@rentrakmail.com writes:

Hi Subhan:

 Org mobile is currently unavailable in the Android market, with no
 scheduled return time.

Are you sure? I can access it just fine:

https://play.google.com/store/apps/details?id=com.matburt.mobileorgfeature=search_result

https://play.google.com/store/apps/details?id=com.matburt.mobileorg.donatefeature=search_result

Charles

-- 
Microsoft is not the answer.
Microsoft is the question.
NO (or Linux) is the answer.
(Taken from a .signature from someone from the UK, source unknown)


pgpqx0wzYcUcA.pgp
Description: PGP signature


Re: [O] Org-mobile for Android and syncing

2013-03-14 Thread Charles Philip Chan
Marcin Borkowski mb...@wmi.amu.edu.pl writes:

Hi Marcin:

 Does this mean that if I have an account on some server, and I can log
 in there through SSH, I can set it up for MobileOrg?  (Sorry for a
 possibly lame question, I don't know much about networking and such
 things.)

Yes, just stage the files to the server. The initial setup wizard in
Mobileorg will guide you through the Android side of things.

 And a follow-up question: I'd like to be able to clock things on my
 phone.  I can't see clocking in the feature set of MobileOrg; are there
 any other Android apps to clock tasks, and is it possible to import
 their data into Org?  If not, well, didn't someone mention GSoC;)?

Clocking is supported.

Charles

-- 
I'd crawl over an acre of 'Visual This++' and 'Integrated Development
That' to get to gcc, Emacs, and gdb.  Thank you.
(By Vance Petree, Virginia Power)


pgpjkLpGn9mBP.pgp
Description: PGP signature


Re: [O] org-caldav will cease to work with Google Calendar

2013-03-14 Thread Charles Philip Chan
Julien Cubizolles j.cubizol...@free.fr writes:

Hi Julian:

 That's very disappointing, org-caldav was the best tool I found to
 have an efficient interaction between my Phone and org. Mobile-org is
 great but unless I'm mistaken it doesn't provide the traditional grid
 view of a calendar like the widget one can get for a Google calendar.

Mobileorg can sync (bi-directionally) with the native calendar system of
your Android device which in turn sync with Google. You can use any of
the Android calender apps that support the native Google calendar system
to view/add/modify. For example I use aCalendar and the Executive
Assistant widget.

https://github.com/matburt/mobileorg-android/pull/325

Charles 

-- 
MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development.
(By dmegg...@aix1.uottawa.ca)


pgpjhhm4Cga50.pgp
Description: PGP signature


Re: [O] Bug? Agenda problems after update

2013-03-02 Thread Charles Philip Chan

 Press key for agenda command (unrestricted):
 Update Org Contacts Database
 Bad sexp at line 350 in /home/simon/org/privat.org:
 (org-contacts-anniversaries BIRTHDAY %y. Geburtstag %l) [7 times]
 Invalid face reference: nil [619 times]

I have the same problem, but with bddb3. The sexp that I use is:

,
| %%(org-bbdb-anniversaries)
`

Charles

-- 
Problem solving under linux has never been the circus that it is under
AIX.
(By Pete Ehlke in comp.unix.aix)


pgphAfASSJPfY.pgp
Description: PGP signature


Re: [O] Offer for taking over maintainership

2013-02-13 Thread Charles Philip Chan
Jambunathan K kjambunat...@gmail.com writes:

 I offer to take over maintainership of Org.

 Offer closes in 7 days.  Only pre-condition will be that Org-8.0 and
 subsequent releases happen under my supervision.

 Principals and riff-raffs can PM me with your thoughts.  I defend your
 right to choose the maintainer or express yourself freely.

 Note: Anger is futile, particularly over the internet.

I refrained from posting until this coup. Jambunathan, I appreciate your
contributions to org-mode. However, your attitude just pisses me
off. Being a good maintainer needs people skills which you obviously
lack. My vote is -1.

Charles

-- 
People get annoyed when you try to debug them.

  -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)


pgpmWmRk3t6UM.pgp
Description: PGP signature


Re: [O] New user, my use case, request basic advice

2012-09-17 Thread Charles Philip Chan
David Rogers davidandrewrog...@gmail.com writes:

Hi David:

 My main goals:

 1. I need audible alerts from my phone for appointments  reminders
when I'm away from home. I don't really mind how those are
accomplished, but I have to hear a sound of some kind at the
appropriate times. I can't be counted on to check my phone
periodically - I need the phone to check me instead, or I'll forget
a lot of things. For example, I'm very attracted to 0rg-notify, but
have no clue how to transfer that functionality onto the phone. (SSH
the phone onto the server and run emacs on there? But I don't even
know if that would give audible alerts.)

 2. I need a way (any reasonable way) of keeping the home computer's
appointments  reminders, and the phone's appointments  reminders,
in sync. Automatic sync is nice but definitely not a requirement - I
can sync manually if needed. (MobileOrg the obvious choice? or
something else?)

Since you use Android, the solution is:

https://play.google.com/store/apps/details?id=com.matburt.mobileorgfeature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5tYXRidXJ0Lm1vYmlsZW9yZyJd

in conjunction with org-mobile.el, which is part of org-mode. Please
read the manual:

http://orgmode.org/manual/MobileOrg.html

Cheers,
Charles

-- 
How do I type for i in *.dvi do xdvi i done in a GUI?
(Discussion in comp.os.linux.misc on the intuitiveness of interfaces.)



Re: [O] external process modifying buffers

2012-09-16 Thread Charles Philip Chan
Ken Mankoff mank...@gmail.com writes:

Hi Ken:

 Right now I'm running ical2org via cron and re-generating iCal.org
 (redirecting stdout with ). When I try to regenerate the agenda,
 emacs complains:

 iCal.org changed on disk; really edit the buffer? (y, n, r or C-h)

Set global-auto-revert-mode to t.

Cheers,
Charles

-- 
linux: the choice of a GNU generation
(k...@cis.ufl.edu put this on Tshirts in '93)


pgpsd8fnlxaEK.pgp
Description: PGP signature


Re: [O] org-capture target files

2012-09-15 Thread Charles Philip Chan
Kalev Takkis kalev.tak...@gmail.com writes:

Hi Kalev:

 Is it possible to take a note in org-capture and to specify one or
 several files to put the message into only after the note is written?
 The workflow I have in mind is first pressing C-c c to take a note;
 selecting the type of note I'd like to take; typing the message,
 pasting a link etc., finishing the note, with C-c C-c and then ending
 up in a list of available *.org files (which could already be on
 display in a window next to capture window) from which I can select
 the file(s) where to send the note to.

No, however, you can instead of finalizing with C-c C-c, use refile
C-c C-w and set org-refile-use-outline-path to file.

Cheers,
Charles

-- 
Absolutely nothing should be concluded from these figures except that
no conclusion can be drawn from them.
(By Joseph L. Brothers, Linux/PowerPC Project)


pgpDKBs3RIVNU.pgp
Description: PGP signature


[O] Bug: Tags Search and Agenda View [7.9.1 (release_7.9.1-199-g6589b9.dirty @ /usr/local/share/emacs/site-lisp/org/)]

2012-09-12 Thread Charles Philip Chan
With the current git version of org-mode, items that are the result of
tags searches are no longer showing up.

Charles

-- 
If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system.
(By Linus Torvalds)


pgpaVvuZIDOkU.pgp
Description: PGP signature


Re: [O] Bug: Tags Search and Agenda View [7.9.1 (release_7.9.1-199-g6589b9.dirty @ /usr/local/share/emacs/site-lisp/org/)]

2012-09-12 Thread Charles Philip Chan
Charles Philip Chan cpc...@bell.net writes:

 With the current git version of org-mode, items that are the result of
 tags searches are no longer showing up.

Oops, sorry for the noise. I just realized that my Custom Agenda setup
got messed up some how.

Charles

-- 
I did this 'cause Linux gives me a woody.  It doesn't generate revenue.
(Dave '-ddt-` Taylor, announcing DOOM for Linux)


pgpi4LIhZ19tt.pgp
Description: PGP signature


Re: [O] org-url-hexify-p is not respected

2012-09-11 Thread Charles Philip Chan
James Harkins jamshar...@gmail.com writes:

Hi James:

 So then the question is, why was I getting the ID-style links in the
 first place? I hadn't loaded that module before (I didn't even know
 about load-library before).

I have org-id loaded and org-link-to-org-use-id is set to
create-if-interactive-and-no-custom-id (which is the default). The
only link by id that I get are TODO keywords entries (created by
org-mobile-push). So there must be something in your setup that set it
to t.

 So I think what I will do is add the module. My only real concern is
 to get links that work. I had wanted to turn off IDs because it
 appeared to me that they were not reliable. Indeed, without
 Jambunathan K's comment about load-library, I would still be under the
 impression.

Why would you need to load it explicitly? org-id is autoloaded by
org-install when needed:

,[ Comments from org-install ]
| ;;;### (autoloads (org-id-store-link org-id-find-id-file org-id-find
| ;;  org-id-goto org-id-get-with-outline-drilling 
org-id-get-with-outline-path-completion
| ;;  org-id-get org-id-copy org-id-get-create) org-id org-id.el
| ;;  (20548 39395 725739 953000))
| ;;; Generated autoloads from org-id.el
`

There is something very wrong with you setup. I suggest start fresh with
a minimal setup and go from there.

Also what do you mean that they are not reliable. What are your values
for org-id-track-globally and org-id-locations-file?

Cheers,
Charles

-- 
The move was on to 'Free the Lizard'

  -- Jim Hamerly and Tom Paquin (Open Sources, 1999 O'Reilly and Associates)


pgptwRTpS28DX.pgp
Description: PGP signature


Re: [O] Quick poll - do you use the agenda more as a query interface or as your main view

2012-09-11 Thread Charles Philip Chan
Marcelo de Moraes Serpa celose...@gmail.com writes:

 I'm wondering: Do you use the agenda more as a query interface or as
 your main view?

Both.

Charles

-- 
People get annoyed when you try to debug them.

  -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)


pgpTbTjSVr7Cm.pgp
Description: PGP signature


Re: [O] info org section 3.1

2012-09-07 Thread Charles Philip Chan
Jude DaShiell jdash...@shellworld.net writes:

Hi Jude:

 Something is undocumented and broken.  Attempting to create the table 
 documented in section 3.1 of the manual generates a beep and the message:
 Symbol's value as variable is void: org-use-sub-superscripts
 at the bottom of the screen and hitting tab just tells me I'm at the 
 beginning of the buffer after that operation.  After I keyed in the 
 example I tried c-c c-ret because writing a second line and putting |- on 
 it caused the same problem to happen.

Something is very wrong with your installation- the example works fine
here. It seems like your org.el is not loaded properly since
org-use-sub-superscripts is defined there:

,[ Output of C-h v org-use-sub-superscripts]
| org-use-sub-superscripts is a variable defined in `org.el'.
| Its value is t
| 
| Documentation:
| Non-nil means interpret _ and ^ for export.
| When this option is turned on, you can use TeX-like syntax for sub- and
| superscripts.  Several characters after _ or ^ will be
| considered as a single item - so grouping with {} is normally not
| needed.  For example, the following things will be parsed as single
| sub- or superscripts.
| 
|  10^24   or   10^tau several digits will be considered 1 item.
|  10^-12  or   10^-taua leading sign with digits or a word
|  x^2-y^3 will be read as x^2 - y^3, because items are
|terminated by almost any nonword/nondigit char.
|  x_{i^2} or   x^(2-i)braces or parenthesis do grouping.
| 
| Still, ambiguity is possible - so when in doubt use {} to enclose the
| sub/superscript.  If you set this variable to the symbol `{}',
| the braces are *required* in order to trigger interpretations as
| sub/superscript.  This can be helpful in documents that need _
| frequently in plain text.
| 
| Not all export backends support this, but HTML does.
| 
| This option can also be set with the #+OPTIONS line, e.g. ^:nil.
| 
| You can customize this variable.
| 
| This variable was introduced, or its default value was changed, in
| version 24.1 of Emacs.
`

Cheers,
Charles

-- 
All language designers are arrogant.  Goes with the territory...
(By Larry Wall)


pgpeLRAktb9Xv.pgp
Description: PGP signature


Re: [O] info org section 3.1

2012-09-07 Thread Charles Philip Chan
Jude DaShiell jdash...@shellworld.net writes:

Hi Jude:

 This happens using gnu-emacs 23.41 and org 7.9.11 and that emacs is
 the current debian package version.  I used git clone to install and
 update org mode too.

Maybe it is a mixed installation problem again. Have you tried the
suggestions here:

,[ http://orgmode.org/worg/org-faq.html#mixed-install ]
| Is my Orgmode installation mixed?
| 
| Emacs is distributed with a version of Orgmode bundled with it. A common
| problem among users who install a newer version of Orgmode separately is
| a mixed install where Emacs loads some files from the bundled and the
| rest from the latest version. This can lead to unending troubles in the
| future. An easy first step to investigate this is to look at the output
| of M-x org-version.
| 
| Good 
| Org-mode version 7.8.11 (release_7.8.11-448-g1737d3 @ 
/path/to/org-mode/lisp/)
| 
| Bad 
| Org-mode version 6.33x (release_7.8.11.409.ga3778)
| 
| You should go through the output of list-load-path-shadows line-by-line
| to get hints to what in your configuration is causing the issue. Among
| the most common reasons is Orgmode gets loaded before the load-path
| variable is updated to include the installation directory of the latest
| Orgmode. To avoid issues like this, it is recommended that the load path
| is updated very early on in your init file.
`

Cheers,
Charles

-- 
The nice thing about Windows is - It does not just crash, it displays a
dialog box and lets you press 'OK' first.
(Arno Schaefer's .sig)


pgps1lPCSvut7.pgp
Description: PGP signature


Re: [O] info org section 3.1

2012-09-07 Thread Charles Philip Chan
Jude DaShiell jdash...@shellworld.net writes:

 As an experiment, I replaced the org-mode from git with the debian 
 org-mode package version 7.8.11 and tried creating the table again.  
 This time, no errors.  Apparently something happened between 7.8.11 and 
 7.9.11 to make this happen even with emacs 23.x systems.

I am using the latest git version:

,
| Org-mode version 7.9.1 (release_7.9.1-149-gd5fddb.dirty @ 
/usr/local/share/emacs/site-lisp/org/)
`

and have no problems. You should really debug it by using the mixed
installation instructions in the FAQ.

Charles

-- 
I did this 'cause Linux gives me a woody.  It doesn't generate revenue.
(Dave '-ddt-` Taylor, announcing DOOM for Linux)


pgp8WQ7np2Nr4.pgp
Description: PGP signature


Re: [O] Store org-files in a git repository?

2012-09-07 Thread Charles Philip Chan
Marcelo de Moraes Serpa celose...@gmail.com writes:

Hello Marcelo and Moritz:

 I have not done yet, but I do use git for my org repo; however, I
 commit every 6 hours via cron (and the commit message is a timestamp).

I have my org repo under git too. However, instead of a cron job, I use
an after-save-hook:

#+BEGIN_SRC emacs-lisp
;;Git integration
(defun git-commit ()
  (when (eq major-mode 'org-mode)
  (shell-command git commit -a -m 'Auto commit.')))

  (add-hook 'after-save-hook 'git-commit)
#+END_SRC

Also, I am not too sure how practical Moritz's idea is. In order to get
that fine level of commit, org-mode will have to save the file after
each operation.

Cheers,
Charles

-- 
There are no threads in a.b.p.erotica,  so there's no  gain in using a
threaded news reader.
(Unknown source)


pgpeyhmsGPGVM.pgp
Description: PGP signature


Re: [O] hiding billing information from generated pdf

2012-09-07 Thread Charles Philip Chan
Mehul Sanghvi mehul.sang...@gmail.com writes:

Hello Mehul:


 Thanks for that pointer.  If I put a :noexport: tag on that headline,
 will I at some later point be able to export just that headline to PDF
 ?  How ?

Get rid of the noexport tag. Select the subtree with C-c @ and then
use an export command.

Cheers,
Charles

-- 
There are no threads in a.b.p.erotica,  so there's no  gain in using a
threaded news reader.
(Unknown source)


pgp0TpNo0ZyYj.pgp
Description: PGP signature


Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Charles Philip Chan
Giuseppe Pagnoni gpagn...@gmail.com writes:

Hi Giuseppe:

 I use org-mode for taking notes and I often need to jot down code
 examples.  In the language R, subscription is often done with double
 square brackets (for instance, I can extract the 2nd element of a
 `list' object x with the code: x[[2]]).  Now, I haven't been able to
 write such example code within org-mode, without them turning
 automatically into hyperlinks (I am talking about the plain emacs
 interface here, which is what I use most, not about exporting into
 formats such as latex or HTML).

Use a src block. For example:

#+BEGIN_SRC R
bla..bla..
#+END_SRC

Please refer to this section:

http://orgmode.org/manual/Working-With-Source-Code.html#Working-With-Source-Code

in the manual.

Cheers,
Charles

-- 
...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and
the Ugly).
(By Matt Welsh)


pgpqIOurboEYY.pgp
Description: PGP signature


Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Charles Philip Chan
Giuseppe Pagnoni gpagn...@gmail.com writes:

Hi Giuseppe:

 thank you for the fast reply. I had actually tried to use the SRC
 block, but the bracket-enclosed text is still converted to hyperlink
 format in the Emacs GUI, with the consequent vanishing of the
 brackets.

Works fine for me- they do not show up as hyperlinks for me within a
block and they export correctly.

Maybe your version of org-mode is too old. I am using the current git
version.

Charles 

-- 
It's God.  No, not Richard Stallman, or Linus Torvalds, but God.
(By Matt Welsh)


pgpKCYvswS4Bw.pgp
Description: PGP signature


Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Charles Philip Chan
Giuseppe Pagnoni gpagn...@gmail.com writes:

Hi Giuseppe:

 I upgraded to the latest Emacs and org-mode versions, but then I found
 out that the text does reformat correctly if I position the cursor at
 the beginning of the SRC block (that is, on the first `#') and enter a
 newline (or, alternatively, if I close and reopen the file).  I have
 no idea why you need to do that in order to have org-mode recognize
 that it should use a code syntax, but it works.

In order to enter code comfortably, I suggest you use C-c' on the
block. This will bring up a major mode buffer for the language you are
using.

Cheers.
Charles

-- 
On a normal ascii line, the only safe condition to detect is a 'BREAK'
- everything else having been assigned functions by Gnu EMACS.
(By Tarl Neustaedter)


pgp0kAMmI21e6.pgp
Description: PGP signature


Re: [O] Trouble with in-line images and iimage.el

2012-09-04 Thread Charles Philip Chan
John Hendy jw.he...@gmail.com writes:

Hi John:

 I'm trying to display inline images. I downloaded iimage.el and added
 it's path to my load-path. I also added the code found on Worg for
 inline images with iimage.[1] 

Iimage is obsolete. Org-mode have the ability to display inline images
for quite some time now.

 Lastly, I've added =#+startup: inlineimages= just to be sure nothing
 is holding things back.

This should be:

 #+org-startup-with-inline-images: t

and use C-c C-x C-v to toggle inline images.

Cheers,
Charles

-- 
The world is beating a path to our door

  -- Bruce Perens, (Open Sources, 1999 O'Reilly and Associates)


pgpMWi2SU7Yk2.pgp
Description: PGP signature


Re: [O] Trouble with in-line images and iimage.el

2012-09-04 Thread Charles Philip Chan
John Hendy jw.he...@gmail.com writes:

 On Tue, Sep 4, 2012 at 2:29 PM, Charles Philip Chan cpc...@bell.net wrote:

 This should be:

  #+org-startup-with-inline-images: t


 The manual appears to be out of date on this?

Sorry you are right on that one for in buffer
setting. org-startup-with-inline-images is the variable that controls
it.

Charles

-- 
Oh, I've seen copies [of Linux Journal] around the terminal room at The
Labs.
(By Dennis Ritchie)


pgpdfNXaZwXz9.pgp
Description: PGP signature


Re: [O] Google-weather.el and the Latest Git Version of Org-mode

2012-08-31 Thread Charles Philip Chan
Nick Dokos nicholas.do...@hp.com writes:

Hi Nick:

 BTW, if you visit 

   http://www.google.com/ig

 it also says

 ,
 | iGoogle will not be available after November 1, 2013. Learn more
 `

 So google-weather's days are numbered (420 days or so) even if the
 first problem gets resolved.

OK, thanks for the info. :-(

Cheers.
Charles

-- 
How do I type for i in *.dvi do xdvi i done in a GUI?
(Discussion in comp.os.linux.misc on the intuitiveness of interfaces.)


pgpapbDNfjamV.pgp
Description: PGP signature


Re: [O] showing orgmode source in orgmode

2012-08-31 Thread Charles Philip Chan
Bastien b...@altern.org writes:

Hi Bastien:

 Org src blocks are special.
 ...

Thanks for the info.

Cheers,
Charles

-- 
Even more amazing was the realization that God has Internet access.  I
wonder if He has a full newsfeed?
(By Matt Welsh)


pgp7ig1EregDy.pgp
Description: PGP signature


Re: [O] Strange Problem with org-agenda-redo

2012-08-31 Thread Charles Philip Chan
Bastien b...@altern.org writes:

Hi Bastien:

 Yes, this is what it does now.

Thanks, it works now with the latest update.

Cheers,
Charles

-- 
Ever heard of .cshrc?
That's a city in Bosnia.  Right?
(Discussion in comp.os.linux.misc on the intuitiveness of commands.)


pgp2NLqXSr2XQ.pgp
Description: PGP signature


Re: [O] Exporting xml and html code with syntax highlight

2012-08-31 Thread Charles Philip Chan
Bastien b...@altern.org writes:

Hi Bastien:

 Since the functions do strictly nothing, we should have a way to
 add them dynamically, without requiring a new ob-* file.  This would 
 be useless for languages you only want to tangle, like XML and HTML.

I totally agree with this.

Cheers,
Charles

-- 
The nice thing about Windows is - It does not just crash, it displays a
dialog box and lets you press 'OK' first.
(Arno Schaefer's .sig)


pgpCkkMlBnEaD.pgp
Description: PGP signature


Re: [O] Google-weather.el and the Latest Git Version of Org-mode

2012-08-31 Thread Charles Philip Chan
Jude DaShiell jdash...@shellworld.net writes:

Hi Jude:

 It might be near time to investigate wunderground.com and loose google
 for weather before igoogle disappears.  Other weather sites capable of
 text output may also be available, I haven't investigated that yet.

I agree.

Charles

-- 
Dijkstra probably hates me
(Linus Torvalds, in kernel/sched.c)


pgpBlyaxmjS4d.pgp
Description: PGP signature


Re: [O] Literal not working

2012-08-31 Thread Charles Philip Chan
Supriya Sawant sp.sawan...@gmail.com writes:

Hi Supriya:

 when I write above in org-mode  if I export it in html using
 org-export-as-html it gives me output

 *Some* example from a text file.

 it seems that pre tag is not creating in html file.

What do you mean is not working? What do you see in the resultant html
file? You should see this:

,
| pre class=example*Some* example from a text file.
| /pre
`

If you mean that *Some* is not fontified, this is the correct
behaviour. If you want it fontified, you can do this:

,
| #+BEGIN_SRC org
| ,*Some* example from a text file.
| #+END_SRC
`

If this post don't help you, please include more details and your
org-mode version.

Cheers,
Charles

-- 
Even more amazing was the realization that God has Internet access.  I
wonder if He has a full newsfeed?
(By Matt Welsh)


pgpdq60ksm8H4.pgp
Description: PGP signature


Re: [O] Cannot open load file: subst-ksc

2012-08-31 Thread Charles Philip Chan
Nick Dokos nicholas.do...@hp.com writes:

Hi Thomas and Nick:

 Can you do

  find -type f | xargs grep subst-ksc

 in the org-mode directory? I find no trace of such a beast in my tree
 (or indeed in emacs).

I got curious, so I did a google search, it seems to be an
Internationalization file that was removed from Emacs a long time ago:

http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/international/subst-ksc.el?view=log

I grep through the org-mode source and I can find any reference to
it. This is really strange.

Thomas, by any chance you are using OSX? The google search top results
are from OSX users:

https://encrypted.google.com/search?q=subst-ksc

I have no idea what is going on.

Cheers,
Charles

-- 
We all know Linux is great...it does infinite loops in 5 seconds.
(Linus Torvalds about the superiority of Linux on the Amterdam
Linux Symposium)


pgpgigB8MdGKW.pgp
Description: PGP signature


Re: [O] Cannot open load file: subst-ksc

2012-08-31 Thread Charles Philip Chan
Charles Philip Chan cpc...@bell.net writes:

 I grep through the org-mode source and I can find any reference to
 it. This is really strange.

Oops, I mean I cannot.

Charles

-- 
There are no threads in a.b.p.erotica,  so there's no  gain in using a
threaded news reader.
(Unknown source)


pgph6kal1yIra.pgp
Description: PGP signature


Re: [O] Bug with org-agenda-span org-agenda-start-day

2012-08-30 Thread Charles Philip Chan
Bastien b...@altern.org writes:

Hi Bastien:

 Remember you need to add (org-agenda-start-on-weekday nil) to the list
 of properties for this agenda view.

I did that already and it didn't work. 

Charles

-- 
The world is beating a path to our door

  -- Bruce Perens, (Open Sources, 1999 O'Reilly and Associates)


pgpxKrT5I2fP8.pgp
Description: PGP signature


Re: [O] calfw-org broken?

2012-08-30 Thread Charles Philip Chan
Michal Sojka sojk...@fel.cvut.cz writes:

Hi Nichal:

 Does anybody have the same problem or better a fix for it?

 Org-mode version 7.8.11, I've tried that with both emacs 23 and 24.

Works fine here with the latest org-mode and calfw-org, both from git.

Cheers,
Charles

-- 
...and scantily clad females, of course.  Who cares if it's below zero
outside
(By Linus Torvalds)


pgpKSt0gHioGI.pgp
Description: PGP signature


Re: [O] calfw-org broken?

2012-08-30 Thread Charles Philip Chan
Michal Sojka sojk...@fel.cvut.cz writes:

Hi Michal:

 I tested this with Org from git and the same result. However, I found
 that calfw works correctly if I have open Agenda window.

 If I close the Agenda window with `q' and then run cfw:open-org-calendar
 again, I see

   cfw:org-collect-schedules-period: Selecting deleted buffer

I do have an Agenda buffer opened when I tested it out. I can reproduce
what you got with no Agenda buffer present.

Cheers,
Charles

-- 
All language designers are arrogant.  Goes with the territory...
(By Larry Wall)


pgpsWyx7XLVx9.pgp
Description: PGP signature


Re: [O] Bug with org-agenda-span org-agenda-start-day

2012-08-30 Thread Charles Philip Chan
Bastien b...@altern.org writes:

Hi Bastien:

 Can you share a reproducible recipe with latest Org?  

 Both a simple .org file and a simple .el config file
 with the minimal setup would help a lot, I don't have
 the problem with my tests.

Sorry for the noise. I traced my problem to adding a null to the
variable org-agenda-start-on-weekday in a Any Variable entry in
Configure custom Agenda Commands. Brown paper bag time. :-(

Cheers,
Charles

-- 
Linux is obsolete
(Andrew Tanenbaum)


pgpwHQU9IxGo8.pgp
Description: PGP signature


Re: [O] Strange Problem with org-agenda-redo

2012-08-30 Thread Charles Philip Chan
Bastien b...@altern.org writes:

Hi Bastien:

 Mhh..  this is how the `j' agenda command behaves here.

 Can you describe exactly what's your agenda, what you do expect
 by hitting `j', what it does and what surprises you?

It changes the Agenda in buffer to a day view for the jump to date. I
was expecting for it to change the block Agenda under point like b
and f.

Charles

-- 
Your job is being a professor and researcher: That's one hell of a good excuse
for some of the brain-damages of minix.
(Linus Torvalds to Andrew Tanenbaum)


pgpeZ9lFnO7HF.pgp
Description: PGP signature


[O] Google-weather.el and the Latest Git Version of Org-mode

2012-08-30 Thread Charles Philip Chan
Hello all:

After updating to the latest git version of Org-mode, google weather
entries are not showing up in the Agenda buffer any more. Does any one
else have the same problem?

Thanks.

Charles

-- 
MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development.
(By dmegg...@aix1.uottawa.ca)


pgpiv2D0bHlwL.pgp
Description: PGP signature


Re: [O] Bug with org-agenda-span org-agenda-start-day

2012-08-30 Thread Charles Philip Chan
Charles Philip Chan cpc...@bell.net writes:

 Sorry for the noise. I traced my problem to adding a null

Sorry, I meant nil.

Charles

-- 
MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development.
(By dmegg...@aix1.uottawa.ca)


pgpE7DeIrUQTH.pgp
Description: PGP signature


Re: [O] showing orgmode source in orgmode

2012-08-30 Thread Charles Philip Chan
Alexandre Russel alexan...@russel.fr writes:

Hi Alexandre:

 I couldn't find how to show orgmode source in orgmode, I've tried the
 obvious(ly stupid):

Use:

,
| #+begin_example
| #+end_example
`


 #+begin_src orgmode
 #+begin_src foobar
 #+end_src

#+begin_src only works with certain programming languages. Please
refer to section 14 of the manual.

Cheers,
Charles

-- 
Computers may be stupid, but they're always obedient. Well, almost always.

  -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)


pgpN1xTJvTdAG.pgp
Description: PGP signature


Re: [O] showing orgmode source in orgmode

2012-08-30 Thread Charles Philip Chan
Charles Philip Chan cpc...@bell.net writes:

Hi Alexandre:

 #+begin_src only works with certain programming languages. Please
 refer to section 14 of the manual.

Sorry, it seems that org-mode is supported, try:

,
| #+begin_src org
| #+end_src
`

Cheers,
Charles

-- 
Dijkstra probably hates me
(Linus Torvalds, in kernel/sched.c)


pgpGtw8Ff9MIi.pgp
Description: PGP signature


Re: [O] Google-weather.el and the Latest Git Version of Org-mode

2012-08-30 Thread Charles Philip Chan
Nick Dokos nicholas.do...@hp.com writes:

Hi Nick:

 Yup - I got an error on startup and turned it off. When I turned it
 back on and tried again (possibly after another org update), I got no
 error but no results either. Haven't investigated further.

Thanks for the confirmation. I know that the weather info is download
and cached judging by the timestamps of the files. They are just not
showing in the Agenda buffer.

Cheers,
Charles

-- 
Nature abhors a Vacuum

  -- Brian Behlendorf on OSS (Open Sources, 1999 O'Reilly and Associates)


pgpz0DOfy73Jy.pgp
Description: PGP signature


[O] Exporting xml and html code with syntax highlight

2012-08-30 Thread Charles Philip Chan
Hello all:

Tonight I had a need to export some xml code with syntax highlight. I
figured that the best way to do it is to modify ob-css.el (by a simple
search and replace). To my delight, it work, so I did one for html
also. I hope people will find them useful.

Cheers,
Charles

;;; ob-xml.el --- org-babel functions for xml evaluation

;; Copyright (C) 2009-2012  Free Software Foundation, Inc.

;; Author: Eric Schulte
;; Keywords: literate programming, reproducible research
;; Homepage: http://orgmode.org

;; This file is part of GNU Emacs.

;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs.  If not, see http://www.gnu.org/licenses/.

;;; Commentary:

;; Since xml can't be executed, this file exists solely for tangling
;; xml from org-mode files.

;;; Code:
(require 'ob)

(defvar org-babel-default-header-args:xml '())

(defun org-babel-execute:xml (body params)
  Execute a block of xml code.
This function is called by `org-babel-execute-src-block'.
  body)

(defun org-babel-prep-session:xml (session params)
  Return an error if the :session header argument is set.
xml does not support sessions.
  (error xml sessions are nonsensical))

(provide 'ob-xml)



;;; ob-xml.el ends here
;;; ob-html.el --- org-babel functions for html evaluation

;; Copyright (C) 2009-2012  Free Software Foundation, Inc.

;; Author: Eric Schulte
;; Keywords: literate programming, reproducible research
;; Homepage: http://orgmode.org

;; This file is part of GNU Emacs.

;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs.  If not, see http://www.gnu.org/licenses/.

;;; Commentary:

;; Since html can't be executed, this file exists solely for tangling
;; html from org-mode files.

;;; Code:
(require 'ob)

(defvar org-babel-default-header-args:html '())

(defun org-babel-execute:html (body params)
  Execute a block of html code.
This function is called by `org-babel-execute-src-block'.
  body)

(defun org-babel-prep-session:html (session params)
  Return an error if the :session header argument is set.
html does not support sessions.
  (error html sessions are nonsensical))

(provide 'ob-html)



;;; ob-html.el ends here

-- 
Open Standards, Open Documents, and Open Source

  -- Scott Bradner (Open Sources, 1999 O'Reilly and Associates)


pgpE0yKfI7nJo.pgp
Description: PGP signature


Re: [O] Google-weather.el and the Latest Git Version of Org-mode

2012-08-30 Thread Charles Philip Chan
Nick Dokos nicholas.do...@hp.com writes:

Hi Nick:

 When I go to

http://www.google.com/ig/api?weather=Bostonhl=en-GB

 Google slaps me and says:

 ,
 | Google  
 | Sorry...
 | We're sorry...
 | 
 | ... but your computer or network may be sending automated
 | queries. To protect our users, we can't process your request right
 | now.
 | See Google Help for more information.
 | 
 `

You are right, I just looked at the cached files and that is what I
see. :-(

Charles

-- 
Besides, I think [Slackware] sounds better than 'Microsoft,' don't you?
(By Patrick Volkerding)


pgpQPv2SKbAUm.pgp
Description: PGP signature


Re: [O] showing orgmode source in orgmode

2012-08-30 Thread Charles Philip Chan
Alexandre Russel alexan...@russel.fr writes:

Hi Alexandre:

 #+begin_example org
 #+begin_src java
 #+end_src

I have no idea what you are trying to do here. However, I have just
noticed that wrapping org-mode code in any type of block doesn't export
correctly- the block code are just ignored and the org-mode source is
treated as part of the document. I have tried:

,
| #+BEGIN EXAMPLE
| #+END_EXAMPLE
`

,
| #+BEGIN_SRC org
| #+END_SRC
`

I have cc'ed Bastien.

Cheers,
Charles

-- 
...and scantily clad females, of course.  Who cares if it's below zero
outside
(By Linus Torvalds)


pgpAG9BOFKG12.pgp
Description: PGP signature


Re: [O] Strange Problem with org-agenda-redo

2012-08-29 Thread Charles Philip Chan
François Allisson franc...@allisson.co writes:

Hi François:

 Since these changes, I have some troubles with a few org-agenda commands
 (goto-today, redo, switch to day view, week view, etc.). This happens
 with multiple blocks custom agenda views (whether there are, or not,
 multiple agendas in them). Does it work for you, or shall I send
 an ECM?

I was going to report also- I am seeing some strange things. For
example:

1. Pressing f the first time in a 1 day block will jump
   forward 2 days. Subsequent presses will do the right thing
   and go forward 1 day.

2. Pressing b the first time in a 1 day block does
   nothing. Again subsequent presses will do the right thing.

3. Switch from day view to week/month and back will go to the
   start to the week/month, instead of today.

etc...

Charles

-- 
The move was on to 'Free the Lizard'

  -- Jim Hamerly and Tom Paquin (Open Sources, 1999 O'Reilly and Associates)


pgp69R6UBBjd6.pgp
Description: PGP signature


[O] Problem with org-smart-reschedule and Agenda View

2012-08-29 Thread Charles Philip Chan
Hello all:

I have just started using org-learn. However, when I try to use
org-smart-reschedule in an Agenda View buffer it fails with the
following backtrace:

,
| Debugger entered--Lisp error: (error Before first headline at position 2024 
in buffer *Org Agenda*)
|   signal(error (Before first headline at position 2024 in buffer *Org 
Agenda*))
|   error(Before first headline at position %d in buffer %s 2024 #buffer 
*Org Agenda*)
|   byte-code(\300\301`p#\207 [error Before first headline at position %d in 
buffer %s] 4)
|   org-back-to-heading(t)
|   org-entry-put(2041 LEARN_DATA (4 2 2.5 nil))
|   org-smart-reschedule(0)
|   call-interactively(org-smart-reschedule record nil)
|   command-execute(org-smart-reschedule record)
|   execute-extended-command(nil org-smart-reschedule)
|   call-interactively(execute-extended-command nil nil)
`

If I run the command directly on the entry in the original org file, it
works. Is this a bug or has this feature not been implemented for use in
an Agenda View?

Thanks.

Charles

-- 
Even more amazing was the realization that God has Internet access.  I
wonder if He has a full newsfeed?
(By Matt Welsh)


pgpoAPGN9g8uL.pgp
Description: PGP signature


Re: [O] Strange Problem with org-agenda-redo

2012-08-29 Thread Charles Philip Chan
Bastien b...@altern.org writes:

Hi Bastien:

 org-agenda.el is a maze, full of sound and fury.

 The various variables/situations were so entangled that the best 
 was to wipe the place out a bit.  I did so.

 Let me know if you still have this.  Thanks!

I can't even go into the Agenda view now. Here is the backtrace:

,
| Debugger entered--Lisp error: (void-variable org-agenda-overriding-cmd)
|   (eq org-agenda-overriding-cmd org-cmd)
|   (if (eq org-agenda-overriding-cmd org-cmd) (or 
org-agenda-overriding-arguments org-agenda-overriding-cmd-arguments))
|   (let ((org-agenda-overriding-arguments (if (eq org-agenda-overriding-cmd 
org-cmd) (or org-agenda-overriding-arguments 
org-agenda-overriding-cmd-arguments (cond ((eq type (quote agenda)) 
(org-let2 gprops lprops (quote (call-interactively (quote org-agenda-list) 
((eq type (quote alltodo)) (org-let2 gprops lprops (quote (call-interactively 
(quote org-todo-list) ((eq type (quote search)) (org-let2 gprops lprops 
(quote (org-search-view current-prefix-arg match nil ((eq type (quote 
stuck)) (org-let2 gprops lprops (quote (call-interactively (quote 
org-agenda-list-stuck-projects) ((eq type (quote tags)) (org-let2 gprops 
lprops (quote (org-tags-view current-prefix-arg match ((eq type (quote 
tags-todo)) (org-let2 gprops lprops (quote (org-tags-view (quote (4)) match 
((eq type (quote todo)) (org-let2 gprops lprops (quote (org-todo-list match 
((fboundp type) (org-let2 gprops lprops (quote (funcall type match (t 
(error Invalid type in command series
|   (while (setq org-cmd (pop cmds)) (setq type (car org-cmd) match (eval (nth 
1 org-cmd)) lprops (nth 2 org-cmd)) (let ((org-agenda-overriding-arguments (if 
(eq org-agenda-overriding-cmd org-cmd) (or org-agenda-overriding-arguments 
org-agenda-overriding-cmd-arguments (cond ((eq type (quote agenda)) 
(org-let2 gprops lprops (quote (call-interactively (quote org-agenda-list) 
((eq type (quote alltodo)) (org-let2 gprops lprops (quote (call-interactively 
(quote org-todo-list) ((eq type (quote search)) (org-let2 gprops lprops 
(quote (org-search-view current-prefix-arg match nil ((eq type (quote 
stuck)) (org-let2 gprops lprops (quote (call-interactively (quote 
org-agenda-list-stuck-projects) ((eq type (quote tags)) (org-let2 gprops 
lprops (quote (org-tags-view current-prefix-arg match ((eq type (quote 
tags-todo)) (org-let2 gprops lprops (quote (org-tags-view (quote ...) match 
((eq type (quote todo)) (org-let2 gprops lprops (quote (org-todo-list match 
((fboundp type) (org-let2 gprops lprops (quote (funcall type match (t 
(error Invalid type in command series)
|   (let* ((org-agenda-multi t) (redo (list (quote org-agenda-run-series) name 
(list (quote quote) series))) (cmds (car series)) (gprops (nth 1 series)) match 
org-cmd type lprops) (while (setq org-cmd (pop cmds)) (setq type (car org-cmd) 
match (eval (nth 1 org-cmd)) lprops (nth 2 org-cmd)) (let 
((org-agenda-overriding-arguments (if (eq org-agenda-overriding-cmd org-cmd) 
(or org-agenda-overriding-arguments org-agenda-overriding-cmd-arguments 
(cond ((eq type (quote agenda)) (org-let2 gprops lprops (quote 
(call-interactively ... ((eq type (quote alltodo)) (org-let2 gprops lprops 
(quote (call-interactively ... ((eq type (quote search)) (org-let2 gprops 
lprops (quote (org-search-view current-prefix-arg match nil ((eq type 
(quote stuck)) (org-let2 gprops lprops (quote (call-interactively ... ((eq 
type (quote tags)) (org-let2 gprops lprops (quote (org-tags-view 
current-prefix-arg match ((eq type (quote tags-todo)) (org-let2 gprops 
lprops (quote (org-tags-view ... match ((eq type (quote todo)) (org-let2 
gprops lprops (quote (org-todo-list match ((fboundp type) (org-let2 gprops 
lprops (quote (funcall type match (t (error Invalid type in command 
series) (widen) (let ((inhibit-read-only t)) (add-text-properties 
(point-min) (point-max) (\` (org-serie t org-serie-redo-cmd (\, redo) (setq 
org-agenda-redo-command redo) (goto-char (point-min)))
|   org-agenda-run-series(GTD: Today's Items (((tags UNFILED 
((org-agenda-overriding-header Aggregated Inbox) (org-agenda-skip-entry\ 
\'regexp\ \Inbox\ nil))) (tags @WAITING ((org-agenda-overriding-header 
Wait For) (org-agenda-tags-todo-honor-ignore-options\ t nil) 
(org-agenda-todo-ignore-scheduled\ t nil) (org-agenda-todo-ignore-deadlines\ t 
nil))) (tags STICKY|HOT ((org-agenda-overriding-header Sticky Notes, Tel 
Messages  Hot Items))) (tags WORK ((org-agenda-overriding-header Current 
Working Files  Notes))) (agenda  ((org-agenda-span (quote day)) 
(org-agenda-overriding-header Today: Agenda, Scheduled Actions  Info))) 
(agenda  ((org-agenda-overriding-header Upcoming Events (8 Days)) 
(org-agenda-span 8) (org-agenda-start-day +1d))) (todo STARTED 
((org-agenda-overriding-header Started Actions) 
(org-agenda-tags-todo-honor-ignore-options\ t nil) 

Re: [O] Strange Problem with org-agenda-redo

2012-08-29 Thread Charles Philip Chan
Bastien b...@altern.org writes:

Hi Bastien:

 Ops.   Fixed!

Thanks for all the hard work. Things are working fine now and I see no
strangeness. The only thing is, for consistency sake, shouldn't j jump
to the specified date in place rather then bringing up a new Agenda
buffer?

Cheers,
Charles

-- 
We are using Linux daily to UP our productivity - so UP yours!
(Adapted from Pat Paulsen by Joe Sloan)


pgpdueEOv2GS6.pgp
Description: PGP signature


Re: [O] Bug with org-agenda-span org-agenda-start-day

2012-08-29 Thread Charles Philip Chan
Bastien b...@altern.org writes:

Hi Bastien:

 This have been fixed with the other agenda fixes.  Please let me know
 if this is not the case for you.

Sorry Bastien. Setting it to 7 or week is still not working. This is
really strange, any other number works.

Cheers,
Charles

-- 
Linux!  Guerrilla UNIX Development Venimus, Vidimus, Dolavimus.
(By m...@ka4ybr.com, Mark A. Horton KA4YBR)


pgpIWylL6nrWk.pgp
Description: PGP signature


Re: [O] Strange Problem with org-agenda-redo

2012-08-27 Thread Charles Philip Chan
Bastien b...@altern.org writes:

Hi Bastien:

Thanks for fixing this.

 Mhh...  This was a real bug, I had a good sweat on this one.

I hope you didn't lose a lot of weight on this one. ;-)

Charles

-- 
I'd crawl over an acre of 'Visual This++' and 'Integrated Development
That' to get to gcc, Emacs, and gdb.  Thank you.
(By Vance Petree, Virginia Power)


pgpkihVH3QeL0.pgp
Description: PGP signature


Re: [O] Bug with org-agenda-span org-agenda-start-day

2012-08-27 Thread Charles Philip Chan
Bastien b...@altern.org writes:

Hi Bastien:

 You need to add (org-agenda-start-on-weekday nil) to the list of
 properties for this agenda view.

 See the docstring of `org-agenda-start-on-weekday' for details.

Ah, OK. Thanks.

Cheers,
Charles

-- 
Even more amazing was the realization that God has Internet access.  I
wonder if He has a full newsfeed?
(By Matt Welsh)


pgpjYQZqPxRqI.pgp
Description: PGP signature


Re: [O] Bug with org-agenda-span org-agenda-start-day

2012-08-27 Thread Charles Philip Chan
Charles Philip Chan cpc...@bell.net writes:

Hi Bastien:

 Bastien b...@altern.org writes:

 Hi Bastien:

 You need to add (org-agenda-start-on-weekday nil) to the list of
 properties for this agenda view.

 See the docstring of `org-agenda-start-on-weekday' for details.

 Ah, OK. Thanks.

I spoke too soon. I tried it out and this is not working.

For example today is Monday, Aug. 27. If I set the agenda span to
anything but 7 or week, it works- the start date is Aug. 28 (I
even tried month and year). This works even if
org-agenda-start-on-weekday is non-nil (my
org-agenda-start-on-weekday is set globally to 0). However, if I set
it to either 7 or week, the start day in the agenda is Sunday,
Aug. 26. This is really strange.

Cheers,
Charles

-- 
Sigh.  I like to think it's just the Linux people who want to be on
the leading edge so bad they walk right off the precipice.
(Craig E. Groeschel)


pgpwovVRtbzW8.pgp
Description: PGP signature


Re: [O] Strange Problem with org-agenda-redo

2012-08-25 Thread Charles Philip Chan
Charles Philip Chan cpc...@bell.net writes:

 Everything is working fine with the exception that after I mark a TODO
 (scheduled/deadline) or HABIT as done, all my appointment, habits,
 scheduled and deadline items disappear from the view after I save all
 Agenda files and force a redisplay (s g).

I did another experiment, I don't even have to mark anything as
done. All I have to do is to refresh the buffer with g and they are
gone.

Charles

-- 
Never make any mistaeks.
(Anonymous, in a mail discussion about to a kernel bug report.)


pgp3jzs6lgub5.pgp
Description: PGP signature


Re: [O] Strange Problem with org-agenda-redo

2012-08-25 Thread Charles Philip Chan
Nick Dokos nicholas.do...@hp.com writes:

Hi Nick:

 Can you post your configuration? Best to do it with M-x
 org-submit-bug-report, I'd guess.

My whole org-mode configuration or just the configuration for that
Agenda view? I have to make it clear that if I take out the 6 day
agenda block and leave the one day one in that view, things are back
to normal. For what it is worth, here is the config for that view. I
will let you look at it before submitting a bug report. Maybe having 2
Agendas in the same view screw things up.

((d GTD: Today's Items
  ((tags UNFILED
 ((org-agenda-overriding-header Aggregated Inbox)
  (org-agenda-skip-entry\ \'regexp\ \Inbox\ nil)))
   (tags @WAITING
 ((org-agenda-overriding-header Wait For)
  (org-agenda-tags-todo-honor-ignore-options\ t nil)
  (org-agenda-todo-ignore-scheduled\ t nil)
  (org-agenda-todo-ignore-deadlines\ t nil)))
   (tags STICKY|HOT
 ((org-agenda-overriding-header Sticky Notes, Tel Messages  Hot 
Items)))
   (tags WORK
 ((org-agenda-overriding-header Current Working Files  Notes)))
   (agenda 
   ((org-agenda-span 'day)
(org-agenda-overriding-header Today: Agenda, Scheduled Actions  
Info)))
   (agenda 
   ((org-agenda-overriding-header Upcoming Events)
(org-agenda-span 6)
(org-agenda-start-day +1d)))
   (todo STARTED
 ((org-agenda-overriding-header Started Actions)
  (org-agenda-tags-todo-honor-ignore-options\ t nil)
  (org-agenda-todo-ignore-scheduled\ nil nil)))
   (todo NEXT
 ((org-agenda-overriding-header Next Actions)))
   (todo PROJECT
 ((org-agenda-overriding-header Projects List)))
   (stuck 
  ((org-agenda-overriding-header Stuck Projects)))
   (todo TODO
 ((org-agenda-overriding-header Action Backlog)))
   (todo PROJDONE|DONE
 ((org-agenda-overriding-header Candidates to be Archived
  nil
  (~/Desktop/Projects/plans/Views/1_day.html))

Charles

-- 
Avoid the Gates of Hell.  Use Linux
(Unknown source)


pgpikTkqgh89S.pgp
Description: PGP signature


Re: [O] I can't make work 'startup hidestars'

2012-08-25 Thread Charles Philip Chan
Ashfaq quazi.ash...@gmail.com writes:

 Within the host, I opened an org file with the emacs. Now it can hide
 the stars.  However, interestingly, when I ssh-ed into the host with
 'putty' and opened the same file with emacs, it shows the stars.

Do they have different colour backgrounds? Hide star is really just a
hack by setting the stars to the same colour as the background.

Charles

-- 
It's God.  No, not Richard Stallman, or Linus Torvalds, but God.
(By Matt Welsh)


pgp8cua0a5o54.pgp
Description: PGP signature


Re: [O] I can't make work 'startup hidestars'

2012-08-25 Thread Charles Philip Chan
Ashfaq quazi.ash...@gmail.com writes:

 They have different background colors. putty has black background. But
 the emacs application in Ubuntu has white background. Can it be hacked
 into again? :-)

The hidden stars colour is determined by the org-hide face which
defaults to white. The easiest way for you is to start emacs with the
-rv switch when you are using Putty.

Charles

-- 
Never make any mistaeks.
(Anonymous, in a mail discussion about to a kernel bug report.)


pgpIIFNa5UbCn.pgp
Description: PGP signature


Re: [O] I can't make work 'startup hidestars'

2012-08-25 Thread Charles Philip Chan
Ashfaq quazi.ash...@gmail.com writes:

 However, as I wanted to indent too, it added extra stars in the
 line. To be precise, each line has now (2 * line_no -1) no. stars. Why
 is it like this?

I have no idea. I haven't ran Emacs in a console, let along through ssh,
in a couple of years. These days I connect to my machine with vnc
through an ssh tunnel. Maybe someone with more experience with emacs in
a console can help you. Alternatively, you might just want to bite the
bullet and use vnc.

Charles

-- 
The move was on to 'Free the Lizard'

  -- Jim Hamerly and Tom Paquin (Open Sources, 1999 O'Reilly and Associates)


pgpk8DIDqdCQf.pgp
Description: PGP signature


Re: [O] Bug with org-agenda-span org-agenda-start-day

2012-08-24 Thread Charles Philip Chan
Bastien b...@altern.org writes:

Hi Bastien:

 I'm not sure to understand what is wrong and how org-agenda-span is
 involved in the problem.

OK, I will explain in more detail. I have set org-agenda-start-day to
+1d in the block. If I set org-agenda-span to anything but 7 (for
example 6 or 8), the resulting agenda view is correct and the start
day is tomorrow (and span the number of days I specified). However, if I
set org-agenda-span to 7, the resulting agenda view does not start
tomorrow, but the Sunday of the current week.

Cheers,
Charles

-- 
I once witnessed a long-winded, month-long flamewar over the use of
mice vs. trackballs...It was very silly.
(By Matt Welsh)


pgpZnSvgl1cFH.pgp
Description: PGP signature


[O] Strange Problem with org-agenda-redo

2012-08-24 Thread Charles Philip Chan
Hello all:

I have a strange problem with org-agenda-redo and I hope that someone
can shed some light. I have an Agenda view which contains everything I
need for the day which I leave open all the time. The agenda view
already contains a schedule for the current day. A couple of days ago I
decided to add another block I called Upcoming Events which contains a
schedule for the next 6 days (I prefer a separate section, so that I can
easily ignore it rather then having a 7 days block). Everything is
working fine with the exception that after I mark a TODO
(scheduled/deadline) or HABIT as done, all my appointment, habits,
scheduled and deadline items disappear from the view after I save all
Agenda files and force a redisplay (s g). If I quite the view and enter
it again through the dispatcher, everything is displayed again.

As an aside, IMHO, I thinks some imenu support for blocks is a good
idea.

Thanks.

Charles
-- 
We come to bury DOS, not to praise it.
(Paul Vojta, vo...@math.berkeley.edu, paraphrasing a quote of Shakespeare)


pgpputhsFkTds.pgp
Description: PGP signature


[O] Bug with org-agenda-span org-agenda-start-day

2012-08-23 Thread Charles Philip Chan
Hello:

I am trying to setup a block in one of my Agenda views for coming up
events in the next 7 days. I have org-agenda-start-day set to
+1d. However, it is not working- the block keeps starting on Sunday of
the current week. If I set org-agenda-start-day to anything but 7, it
works.

I am using the current git version of org-mode (7.8.11).

Thanks.

Charles

-- 
Open Standards, Open Documents, and Open Source

  -- Scott Bradner (Open Sources, 1999 O'Reilly and Associates)


pgpfGWvZaUsqA.pgp
Description: PGP signature


[O] Icalendar Export Broken in Git Version

2012-08-14 Thread Charles Philip Chan
Hello:

I tried to export an icalendar file with the current git version of
org-mode and it failed. I debugged it by loading org-install on a clean
Emacs with no init files and this is what I got:

,
| Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
|   byte-code(\306 \210\203\307 \310\216 *\204\311 
\210\312u\210\313\314\315\\210\316\224\317\316!\320 
\321\315\322\323\217@\324\325\315\326\!A\324\325\315\327\\206FB\205F\330 
\321B#C\324\325\315\331\332#!DE\203_\333 \202f\334 \206f\335 F\336 
G\325\315\337\\211H\205z\340H!H\341I\315\211JK\342L!\203\237\316\225b\210\317\343!M\344\345M\?\202\322e\nNZ]\n{O\344\346\\203\273\315\347\350\321\315$\202\274M\344PO\J\344QO\K\351
 
RS\204\346J\204\346K\204\346\313\314\321\\210T\203\372\352\315\353\354\f\\\203\372\313\314\321\\210J\203R\203\f\355U?\202\356U?\203\313\314\321\\210K\2038R\203+\355V?\2020\356V?\2038\313\314\321\\210J\203A\357\202KK\203J\360\202K\361W\344X@\\204_\344Y@\\203h\347\341\321\211@$@\344\362\\203\203\363\364\317\365\\366\A\367\317\343\RZ\202\206\341ZA\206\215@A\315\370\371\217[H\316V\204\243\\\316V\203\310[@\203\310[A@\203\310\365[8\203\310\372\373AH\206\302\\#I\202\313\341I)\344]A\\203\357\347\374\225\203\343\317\374A\\202\350\317\343A\\321\211A$AJ\203\372\375APAK\203\376APA\344\377\\203r^q\210\343\312O_\201`\316\343\201F\201aWFQ_%\210_\201aA\201b\261\210*\202\230\201c\372\201dWFP\201e\201f\\201eM\201g
#ZAC\203v\344\201hC\\203v\201iCP\202w\341D\203\217\344\201hD\\203\217\201jDP\202\220\341GI\n!\210\315\207
 [org-icalendar-verify-function save-match-data-internal pos ts tags inc 
org-agenda-skip match-data ((byte-code \301\302\\207 
[save-match-data-internal set-match-data evaporate] 3)) outline-next-heading -1 
throw :skip nil 0 match-string org-get-tags-at t (byte-code 
\300\301\302!!\207 [org-icalendar-cleanup-string org-get-heading t] 3) 
((error (throw :skip nil))) org-icalendar-cleanup-string org-entry-get 
SUMMARY DESCRIPTION org-get-entry LOCATION selective org-id-get-create 
org-id-get org-id-new org-export-get-categories APPT_WARNTIME 
string-to-number  looking-at 1 string-match [0-9]\\{1,2\\}:[0-9][0-9] 
[0-9]\\{1,2\\}:[0-9][0-9]-\\([0-9]\\{1,2\\}:[0-9][0-9]\\) replace-match \\1 
org-get-todo-state delq mapcar #[(x)    \235\207 [x org-export-exclude-tags] 
2] event-if-todo event-if-not-todo DL- SC- TS- ...] 13)
|   org-print-icalendar-entries(nil)
|   byte-code(\306!\210\307!q\210
\204$\310\n!\311\312!!\313Q\307\f!rq\210\314 
\210)\206.\311\312!!\2119\203;\315! \203V\204[\316\211\203[\317 
!\210\202[\317!\210\320 !\210   \203h!\203l\204\236
\203|\\203|\321\322!\210\323 \210\324 \210q\210\325\326!\210\327 
\210\325\330!\210\331\332!\203\236\247\203\236\333!\210)\306\207 [file 
combine dir buffer-file-name ical-file ical-buffer org-check-agenda-file 
org-get-agenda-file-buffer file-name-as-directory file-name-sans-extension 
file-name-nondirectory .ics erase-buffer symbol-name t 
org-start-icalendar-file org-print-icalendar-entries require org-bbdb 
org-bbdb-anniv-export-ical org-finish-icalendar-file run-hooks 
org-before-save-iCalendar-file-hook save-buffer 
org-after-save-iCalendar-file-hook boundp org-wait sit-for org-category 
category standard-output started org-icalendar-combined-name files 
org-icalendar-include-bbdb-anniversaries] 5)
|   org-export-icalendar(nil /home/hoor/Desktop/Projects/plans/test.org)
|   org-export-icalendar-this-file()
|   call-interactively(org-export-icalendar-this-file record nil)
|   command-execute(org-export-icalendar-this-file record)
|   execute-extended-command(nil org-export-icalendar-this-file)
|   call-interactively(execute-extended-command nil nil)
`

If I replace org-icalendar with the version that comes with my Emacs
24.1.50.1 everything works.

Thanks,
Charles

-- 
If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system.
(By Linus Torvalds)



Re: [O] Icalendar Export Broken in Git Version

2012-08-14 Thread Charles Philip Chan
Nick Dokos nicholas.do...@hp.com writes:

Hi Nick:

Thanks, Bastien already fixed it.

 There are only two recent commits against org-icalendar. The second
 one mentions org-print-icalendar-entries, so I bet that's the culprit
 :-)

I figured that it was that commit too when I grepped the git log. :-)

 For future reference, if you can reproduce the problem with
 *uncompiled* org-mode, the backtrace is going to be much more readable
 (no byte code hieroglyphics). Just something to keep in mind.

Thanks, I didn't know that.

Charles

-- 
If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system.
(By Linus Torvalds)


pgpWkIFdtMEqf.pgp
Description: PGP signature


Re: [O] Using org-mode as day planner

2012-08-10 Thread Charles Philip Chan
Jack Erwin j...@jugband.net writes:

Hello Jack:

 I am in the process of trying out org-mode after a long stint with
 planner.el.  The most obvious difference here is that planner.el uses
 day pages that keep a running list of tasks versus the more dynamic
 nature of org which collects them from a set of arbitrary .org files.

I am a planner refugee from a few years back too. I find that my first
hurdle was to get rid of the notation that day pages must be physical
instead of emphemeral.

 While I like the org approach quite a bit, I still miss having a place
 to record the events and notes of the a day, for use in a
 weekly/monthly review.

There are many ways to do this and it is up to you imagination. Such as
by using a date tree or a combination of inactive time stamps and
tags. I personally have a :Review: tag in my capture templates for new
items and cleared after review. My day and weekly pages are Agenda views
that can be called up with one hot key either from Emacs or from my root
menu.

I think the term Agenda View really throws new users off, because it
is not just for Agendas, but really just a generic aggregator. For
example in my daily Agenda, I have the following sections:

   1. An aggregated Inbox for unfiled items in my org files and dired
  link to my inbox directory.

   2. A section for Late Deadlines.

   3. A Section for Wait For items.

   4. A section for Sticky notes and other items that I deemed hot.

   5. A section from current working files and notes.

   6. A 1 day Agenda View for Agenda, scheduled items, deadline items,
  habits, weather, etc.

   7. A Started Actions section for items that I am working on (todo
  keyword STARTED.

   8. A Next Actions List (todo keyword NEXT).

   9. A list of my Projects

  10. A section for Stuck Projects.

  11. A list for my Actions minus started and next (todo keyword TODO).

  12. A list of items that are candidates to be archived.

Of course I also have a number of Agenda Views for context lists.

The key here is really to take some time to set up your Agenda Views and
Capture Templates.

You should really read this section on worg:

http://orgmode.org/worg/org-gtd-etc.html

to get some more ideas. Also I find the following links very helpful (my
setup is based on that):

http://blog.edencardim.com/2011/05/gtd-with-org-mode-part-2/

http://blog.edencardim.com/2011/06/gtd-with-org-mode-part-3/

Another thing your should take advantage of is org-protocol. I
personally have 2 shell scripts for capture and store-link which I
have added as actions in my file manager, my root menu and of course I
used org-protocol in Firefox.

Regards,
Charles
-- 
The move was on to 'Free the Lizard'

  -- Jim Hamerly and Tom Paquin (Open Sources, 1999 O'Reilly and Associates)


pgpQCV5VnRRmx.pgp
Description: PGP signature


Re: [O] Using org-mode as day planner

2012-08-10 Thread Charles Philip Chan
Charles Philip Chan cpc...@bell.net writes:

 The key here is really to take some time to set up your Agenda Views
 and Capture Templates.

Oops, forgot to mention tags. You should think about and setup your tags
too. They are great for searching.

Charles


pgpnvVOisgRUL.pgp
Description: PGP signature


[O] Scheduling habit Mon to Sat

2012-07-30 Thread Charles Philip Chan
Hello all:

I would like to schedule a habit to occur 6 times a week from Monday to
Saturday. I have looked through the manual, but I can't seem to find a
way to do it. I have tried:

,
| %%(memq (calendar-day-of-week date) '(1 2 3 4 5 6))
`

but it didn't work. Any help will be appreciated.

Thanks,
Charles

-- 
All language designers are arrogant.  Goes with the territory...
(By Larry Wall)


pgpb0wlUP7EHU.pgp
Description: PGP signature


Re: [O] OT: italics [was: Re: take the name of org-class event from heading]

2012-06-23 Thread Charles Philip Chan
Sebastien Vauban wxhgmqzgw...@spammotel.com writes:

Hi Seb:

 Not really: there are commands `boxquote-unbox' and
 `boxquote-unbox-region' for that.

Yes, I am aware of these commands. However, not everyone uses Emacs. ;-)

Regards,
Charles

-- 
If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system.
(By Linus Torvalds)


pgpA7MV8nsyiV.pgp
Description: PGP signature


  1   2   >