all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Testing org-mode 4.37 (and a few suggestions)
@ 2006-06-12  1:33 Bastien
  2006-06-12  9:59 ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2006-06-12  1:33 UTC (permalink / raw)
  To: emacs-orgmode

Heya,

some testing and suggestions...

* `org-version' is 4.36b in the last release (should be 4.37, no ?)

* I like the new `org-export' behavior, but (1) the [t] key ("insert
  the export option template") is not defined; (2) the [x] key (XOXO
  export) is somewhat confusing, since no global C-x key is available
  anymore (maybe use [O]?)

Suggestions:

* Keeping stored link after insertion often depends on the link we
  need to insert.  So `org-keep-stored-link-after-insertion' is OK,
  but some way to control this for every insertion (overriding the
  default value of the variable above) would be useful.

  Maybe C-u C-u C-u C-c C-l is okay ?

* What about a default description with stored links ?

  For example, the default for a file would be the name of the file,
  the default for a w3m buffer would be the title of the page, the
  default for a bibtex entry would be some apalike (or user defined)
  formatted string, and so on.

* org-narrow-to-current-level

  This is defined in org-blogging.el; i always use it when editing
  some big org file.


(defun org-narrow-to-current-level nil
  "Narrow to current level."
  (interactive)
  (narrow-to-region 
   (or (save-excursion
	 (re-search-backward "^\\(\\*+\\) " nil t))
       (point-min))
   (or (save-excursion
	 (re-search-forward
	  (concat "^"
		  (regexp-quote
		   (substring (match-string 1) 0
			      (1- (length (match-string 1)))))
			"\\*? ") nil t)
	 (match-beginning 0))
       (point-min))))


Best regards,

-- 
Bastien

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

* Re: Testing org-mode 4.37 (and a few suggestions)
  2006-06-12  1:33 Testing org-mode 4.37 (and a few suggestions) Bastien
@ 2006-06-12  9:59 ` Carsten Dominik
  2006-06-12 13:26   ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2006-06-12  9:59 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Hi Bastien,

> * I like the new `org-export' behavior, but (1) the [t] key ("insert
>   the export option template") is not defined; (2) the [x] key (XOXO
>   export) is somewhat confusing, since no global C-x key is available
>   anymore (maybe use [O]?)

I don't understand the second point.  In what situation is there no 
global C-x key?  While Org-mode is waiting for the key after `C-c C-e'? 
  In this situation no command keys are available at all, so you need to 
press a key for a command, or C-g to abort.

Am I misunderstanding something?

> Suggestions:
>
> * Keeping stored link after insertion often depends on the link we
>   need to insert.  So `org-keep-stored-link-after-insertion' is OK,
>   but some way to control this for every insertion (overriding the
>   default value of the variable above) would be useful.
>
>   Maybe C-u C-u C-u C-c C-l is okay ?

Hmm.  3 prefix args....  Nobody is going to use this.  Needs something 
better.  Maybe just a history.

>
> * What about a default description with stored links ?

You mean a default for what will be inserted for the second pair of []? 
There are default for some links, but not for all.  I'll check if we 
can have more.

>   For example, the default for a file would be the name of the file,
>   the default for a w3m buffer would be the title of the page, the
>   default for a bibtex entry would be some apalike (or user defined)
>   formatted string, and so on.

> * org-narrow-to-current-level
>
>   This is defined in org-blogging.el; i always use it when editing
>   some big org file.
>
>
> (defun org-narrow-to-current-level nil
>   "Narrow to current level."


I guess this could also be called narrow-to-subtree, and be written as

(defun org-narrow-to-subtree ()
   ""
   (interactive)
   (save-excursion
     (narrow-to-region
      (progn (org-back-to-heading) (point))
      (progn (org-end-of-subtree t) (point)))))


- Carsten

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

* Re: Testing org-mode 4.37 (and a few suggestions)
  2006-06-12  9:59 ` Carsten Dominik
@ 2006-06-12 13:26   ` Bastien
  2006-06-12 20:57     ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2006-06-12 13:26 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> I don't understand the second point.  In what situation is there no
> global C-x key?  While Org-mode is waiting for the key after `C-c
> C-e'? In this situation no command keys are available at all, so you
> need to press a key for a command, or C-g to abort.
>
> Am I misunderstanding something?

No you're right.  I wasn't aware that command keys were not available
at all in this situation.

>>   Maybe C-u C-u C-u C-c C-l is okay ?
>
> Hmm.  3 prefix args....  Nobody is going to use this.  

For me, if the 3 prefix args just temporarily turn on/off the global
value of `org-keep-stored-link-after-insertion', i think this is not
such a pain.  But maybe a history is better.

> You mean a default for what will be inserted for the second pair of
> []? There are default for some links, but not for all.  I'll check if
> we can have more.

The page title for w3m links would be great - for example.

> I guess this could also be called narrow-to-subtree, and be written
> as.

Yes. IMHO, this ought to be part of Org.  I've removed it from my
piece of code to avoid confusion.

Regards,

-- 
Bastien

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

* Re: Testing org-mode 4.37 (and a few suggestions)
  2006-06-12 13:26   ` Bastien
@ 2006-06-12 20:57     ` Carsten Dominik
  2006-06-12 21:18       ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2006-06-12 20:57 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode


On Jun 12, 2006, at 15:26, Bastien wrote:
>
>> You mean a default for what will be inserted for the second pair of
>> []? There are default for some links, but not for all.  I'll check if
>> we can have more.
>
> The page title for w3m links would be great - for example.


I am not using w3m, nor have I installed it at the moment.  Do you know 
in which variable I can find the title?  And while we are at it, same 
for w3?

>
>> I guess this could also be called narrow-to-subtree, and be written
>> as.
>
> Yes. IMHO, this ought to be part of Org.  I've removed it from my
> piece of code to avoid confusion.

OK, I'll put it on `C-x n s'.

Thanks

- Carsten



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

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

* Re: Testing org-mode 4.37 (and a few suggestions)
  2006-06-12 20:57     ` Carsten Dominik
@ 2006-06-12 21:18       ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2006-06-12 21:18 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> I am not using w3m, nor have I installed it at the moment.  Do you
> know in which variable I can find the title?  And while we are at it,
> same for w3?

w3m-current-title
w3m-current-url

I'm not using w3, i cannot help further.

Regards,

-- 
Bastien

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

end of thread, other threads:[~2006-06-12 21:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-12  1:33 Testing org-mode 4.37 (and a few suggestions) Bastien
2006-06-12  9:59 ` Carsten Dominik
2006-06-12 13:26   ` Bastien
2006-06-12 20:57     ` Carsten Dominik
2006-06-12 21:18       ` Bastien

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.