emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* A few new user questions, Custom agenda views, calendar in frame, and Hyperlinks on win32
@ 2008-11-20  3:06 Jonathan Arkell
  2008-11-20  3:39 ` Eddward DeVilla
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jonathan Arkell @ 2008-11-20  3:06 UTC (permalink / raw)
  To: emacs-orgmode

Hi Everybody

I have some fairly simple new user questions, and I am hoping you guys can help me out.

I have a few custom agenda views that I would like to create, but I am having some issues.  My files are laid out in 1 file per project, and each file starts with a level 1 outline element tagged :project:.  (I do have other file types that are appropriately tagged).    I thought that if I wanted to list all TODOs in all my (appropriately tagged) project files, it would be as easy as setting up a custom agenda command.  The one I set up had a tags-todo type, with search “project” or “+project”, but I get … well… no results.  Ideally I’d like to have a couple of different lists, all project tagged files with TODO items and all project tagged files with WAITING items.  Can someone give me a hand?  (I’m not adverse to using setq in my .emacs, in fact, that might make things a little easier for me anyways)

Secondly, I am having an issue where my Calendar is popping up in a new frame all the time, either when scheduling an item or through remember.  I’d rather it pop up in a new window instead.  Is this possible?

Finally, I am having a problem with some external links, whenever I try to visit a file like \\AWindowsServer\path\to\file  I get the error message “eval: ShellExecute failed: The system cannot find the file specified. ^M”  Is it easy to fix this?  What is going on?

I am using org 6.10c, on Emacs W32 (Emacs v 22).

Thanks!

Jonathan Arkell
Sr. Web Developer
Inspired by Drum + Bass, Scheme, Kawaii
402 – 11 Avenue SE
Calgary, AB T2G 0Y4
t: 403.206.4377
www.criticalmass.com


The information contained in this message is confidential. It is intended to be read only by the individual or entity named above or their designee. If the reader of this message is not the intended recipient, you are hereby notified that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message.

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

* Re: A few new user questions, Custom agenda views, calendar in frame, and Hyperlinks on win32
  2008-11-20  3:06 A few new user questions, Custom agenda views, calendar in frame, and Hyperlinks on win32 Jonathan Arkell
@ 2008-11-20  3:39 ` Eddward DeVilla
  2008-11-20  5:07 ` Matthew Lundin
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Eddward DeVilla @ 2008-11-20  3:39 UTC (permalink / raw)
  To: Jonathan Arkell; +Cc: emacs-orgmode


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

I'm afraid I'm not going to be too helpful with the calendar problem.  My
calendar is in a different window in the same frame and the frame returns to
normal after I select my date.  I don't remember doing anything special for
that.  Likewise, I does use windows native emacs.  Just cygwin.  I skip the
whole share mapping thing by doing cygwin mounts.

About your first question, my first guess is org-agenda-files.  Did you set
it?  You can check it out from an org buffer menu.  Just look in "Org ->
File List For Agenda".  You can modify the list in that menu.  It also has
the current files in that menu.  Agenda only deals with files in that list.

Edd

On Wed, Nov 19, 2008 at 9:06 PM, Jonathan Arkell <jonathana@criticalmass.com
> wrote:

> Hi Everybody
>
> I have some fairly simple new user questions, and I am hoping you guys can
> help me out.
>
> I have a few custom agenda views that I would like to create, but I am
> having some issues.  My files are laid out in 1 file per project, and each
> file starts with a level 1 outline element tagged :project:.  (I do have
> other file types that are appropriately tagged).    I thought that if I
> wanted to list all TODOs in all my (appropriately tagged) project files, it
> would be as easy as setting up a custom agenda command.  The one I set up
> had a tags-todo type, with search "project" or "+project", but I get … well…
> no results.  Ideally I'd like to have a couple of different lists, all
> project tagged files with TODO items and all project tagged files with
> WAITING items.  Can someone give me a hand?  (I'm not adverse to using setq
> in my .emacs, in fact, that might make things a little easier for me
> anyways)
>
> Secondly, I am having an issue where my Calendar is popping up in a new
> frame all the time, either when scheduling an item or through remember.  I'd
> rather it pop up in a new window instead.  Is this possible?
>
> Finally, I am having a problem with some external links, whenever I try to
> visit a file like \\AWindowsServer\path\to\file  I get the error message
> "eval: ShellExecute failed: The system cannot find the file specified. ^M"
>  Is it easy to fix this?  What is going on?
>
> I am using org 6.10c, on Emacs W32 (Emacs v 22).
>
> Thanks!
>
> Jonathan Arkell
> Sr. Web Developer
> Inspired by Drum + Bass, Scheme, Kawaii
> 402 – 11 Avenue SE
> Calgary, AB T2G 0Y4
> t: 403.206.4377
> www.criticalmass.com
>
>
> The information contained in this message is confidential. It is intended
> to be read only by the individual or entity named above or their designee.
> If the reader of this message is not the intended recipient, you are hereby
> notified that any distribution of this message, in any form, is strictly
> prohibited. If you have received this message in error, please immediately
> notify the sender and delete or destroy any copy of this message.
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

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

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

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: A few new user questions, Custom agenda views, calendar in frame, and Hyperlinks on win32
  2008-11-20  3:06 A few new user questions, Custom agenda views, calendar in frame, and Hyperlinks on win32 Jonathan Arkell
  2008-11-20  3:39 ` Eddward DeVilla
@ 2008-11-20  5:07 ` Matthew Lundin
  2008-11-20  5:51 ` Nick Dokos
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Matthew Lundin @ 2008-11-20  5:07 UTC (permalink / raw)
  To: Jonathan Arkell; +Cc: emacs-orgmode


Hi Jonathan,

"Jonathan Arkell" <jonathana@criticalmass.com> writes:

> Hi Everybody
>
> I have some fairly simple new user questions, and I am hoping you
> guys can help me out.
>
> I have a few custom agenda views that I would like to create, but I
> am having some issues. My files are laid out in 1 file per project,
> and each file starts with a level 1 outline element tagged
> :project:. (I do have other file types that are appropriately
> tagged). I thought that if I wanted to list all TODOs in all my
> (appropriately tagged) project files, it would be as easy as setting
> up a custom agenda command.

A couple of things you might want to double-check here: 1) do you have
tag inheritance turned on and 2) are the relevant TODO subheadings
nested beneath the level 1 heading tagged "project"?

That said, it's probably easier to tag the whole file by placing a
filetags declaration at the top of the file:

#+FILETAGS: project

> The one I set up had a tags-todo type, with search “project” or
> “+project”, but I get … well… no results. Ideally I’d like to have a
> couple of different lists, all project tagged files with TODO items
> and all project tagged files with WAITING items. Can someone give me
> a hand? (I’m not adverse to using setq in my .emacs, in fact, that
> might make things a little easier for me anyways)

I find the easiest way to filter todos by tags is to use "/" within
the agenda view. That is, hit C-c a t to get a list of all todos, then
type "/" and the tag to filter the todo list.

> Secondly, I am having an issue where my Calendar is popping up in a
> new frame all the time, either when scheduling an item or through
> remember. I’d rather it pop up in a new window instead. Is this
> possible?
>
> Finally, I am having a problem with some external links, whenever I
> try to visit a file like \\AWindowsServer\path\to\file I get the
> error message “eval: ShellExecute failed: The system cannot find the
> file specified. ^M” Is it easy to fix this? What is going on?
>

Sorry I can't help you here. Windows machines are a foreign country to
me.

Matt

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

* Re: A few new user questions, Custom agenda views, calendar in frame, and Hyperlinks on win32
  2008-11-20  3:06 A few new user questions, Custom agenda views, calendar in frame, and Hyperlinks on win32 Jonathan Arkell
  2008-11-20  3:39 ` Eddward DeVilla
  2008-11-20  5:07 ` Matthew Lundin
@ 2008-11-20  5:51 ` Nick Dokos
  2008-11-20  6:42 ` Manish
  2008-11-20 21:08 ` Mike Newman
  4 siblings, 0 replies; 6+ messages in thread
From: Nick Dokos @ 2008-11-20  5:51 UTC (permalink / raw)
  To: Jonathan Arkell; +Cc: emacs-orgmode

Jonathan Arkell <jonathana@criticalmass.com> wrote:

> Secondly, I am having an issue where my Calendar is popping up in a
> new frame all the time, either when scheduling an item or through
> remember.  I’d rather it pop up in a new window instead.  Is this
> possible?
> 

Check the variable calendar-setup. Setting it to nil should do what you want:

    calendar-setup is a variable defined in `calendar.el'.
    Its value is nil

    Documentation:
    The frame setup of the calendar.
    The choices are: `one-frame' (calendar and diary together in one separate,
    dedicated frame); `two-frames' (calendar and diary in separate, dedicated
    frames); `calendar-only' (calendar in a separate, dedicated frame); with
    any other value the current frame is used.  Using any of the first
    three options overrides the value of `calendar-view-diary-initially-flag'.

Nick

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

* Re: A few new user questions, Custom agenda views, calendar in frame, and Hyperlinks on win32
  2008-11-20  3:06 A few new user questions, Custom agenda views, calendar in frame, and Hyperlinks on win32 Jonathan Arkell
                   ` (2 preceding siblings ...)
  2008-11-20  5:51 ` Nick Dokos
@ 2008-11-20  6:42 ` Manish
  2008-11-20 21:08 ` Mike Newman
  4 siblings, 0 replies; 6+ messages in thread
From: Manish @ 2008-11-20  6:42 UTC (permalink / raw)
  To: Jonathan Arkell; +Cc: emacs-orgmode

  On Thu, Nov 20, 2008 at 8:36 AM, Jonathan Arkell wrote:
  > Hi Everybody
  >
  > I have some fairly simple new user questions, and I am hoping you
guys can help me out.
  >

  > I have a few custom agenda views that I would like to create, but I
  > am having some issues. My files are laid out in 1 file per project,
  > and each file starts with a level 1 outline element tagged
  > :project:. (I do have other file types that are appropriately
  > tagged).  I thought that if I wanted to list all TODOs in all my
  > (appropriately tagged) project files, it would be as easy as setting
  > up a custom agenda command. The one I set up had a tags-todo type,
  > with search "project" or "+project", but I get … well… no
  > results. Ideally I'd like to have a couple of different lists, all
  > project tagged files with TODO items and all project tagged files
  > with WAITING items. Can someone give me a hand? (I'm not adverse
  > to using setq in my .emacs, in fact, that might make things a little
  > easier for me anyways)

Like Matt said earlier, defining FILETAGS at the top of a project file
is easier approach.  Fast tag filtering is the most amazing way to
zero in on items.

  >
  > Secondly, I am having an issue where my Calendar is popping up in a
  > new frame all the time, either when scheduling an item or through
  > remember. I'd rather it pop up in a new window instead. Is this
  > possible?

Can you please try:
(setq pop-up-frames nil)


  >
  > Finally, I am having a problem with some external links, whenever I
  > try to visit a file like \\AWindowsServer\path\to\file I get the
  > error message "eval: ShellExecute failed: The system cannot find the
  > file specified. ^M" Is it easy to fix this? What is going on?

This seems to work for me:

;; for invoking external viewers from within dired
(require 'extview)

(push '("\\.html$" . ask) extview-application-associations)
(push '("\\.doc$" . "C:/PROGRA~1/OFFICE11/WINWORD.EXE %s")
extview-application-associations)
(push '("\\.xls$" . "C:/PROGRA~1/OFFICE11/EXCEL.EXE %s")
extview-application-associations)
(push '("\\.pdf$" . "C:/PROFRA~1/Adobe/Reader\\
8\\.0/Reader/AcroRd32.exe %s") extview-application-associations)


-- 
Manish

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

* Re: A few new user questions, Custom agenda views, calendar in frame, and Hyperlinks on win32
  2008-11-20  3:06 A few new user questions, Custom agenda views, calendar in frame, and Hyperlinks on win32 Jonathan Arkell
                   ` (3 preceding siblings ...)
  2008-11-20  6:42 ` Manish
@ 2008-11-20 21:08 ` Mike Newman
  4 siblings, 0 replies; 6+ messages in thread
From: Mike Newman @ 2008-11-20 21:08 UTC (permalink / raw)
  To: emacs-orgmode

On Wed, 19 Nov 2008 22:06:51 -0500
"Jonathan Arkell" <jonathana@criticalmass.com> wrote:

> Finally, I am having a problem with some external links, whenever I
> try to visit a file like \\AWindowsServer\path\to\file  I get the
> error message “eval: ShellExecute failed: The system cannot find the
> file specified. ^M”  Is it easy to fix this?  What is going on?

Does using // rather than \\ work better?

-- 
Mike

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

end of thread, other threads:[~2008-11-20 21:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-20  3:06 A few new user questions, Custom agenda views, calendar in frame, and Hyperlinks on win32 Jonathan Arkell
2008-11-20  3:39 ` Eddward DeVilla
2008-11-20  5:07 ` Matthew Lundin
2008-11-20  5:51 ` Nick Dokos
2008-11-20  6:42 ` Manish
2008-11-20 21:08 ` Mike Newman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).