emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-mode version 6.31a; "conflicting packages" section lacks some (tiny) viper info
@ 2009-10-29 16:56 Stefano Zacchiroli
  2009-10-29 17:37 ` Stephan Schmitt
  2009-10-30  5:47 ` Carsten Dominik
  0 siblings, 2 replies; 5+ messages in thread
From: Stefano Zacchiroli @ 2009-10-29 16:56 UTC (permalink / raw)
  To: emacs-orgmode



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

Heya,
  I'm using Org mode (beware: I'm an Org newbie!) and Viper mode. I've
noticed that there is a small incompatibility between the two, as Viper
(at least in export mode) has "C-c /" set to a command related to search
settings, whereas Org uses that for the sparse tree menu. To me it is
not a big deal as Viper's C-c / is, IMO, a completely useless setting
command, but it is still worth to be mentioned in manual section
14.7.2. Can you please do that?

Given my premise, my "solution" for that is simply to override Viper's
C-c / as follows:

  (define-key viper-vi-global-user-map (kbd "C-c /") 'org-sparse-tree)

It is suboptimal since it sets "C-c /" as org-sparse-tree everywhere,
while it would be better to do that only in Org mode buffers. I've tried
with hooks and local maps, but I failed to obtain a more-local
solution. If you find it, you might want to specify that rather than
mine.

Thanks for Org!
Cheers.


Emacs  : GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-10-23 on elegiac, modified by Debian
Package: Org-mode version 6.31a

current state:
==============
(setq
 org-special-ctrl-a/e t
 org-agenda-files '("~/example.org")
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-agenda-skip-scheduled-if-done t
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file "~/dati/org/notes.org"
 org-directory "~/dati/org"
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines
		  org-optimize-window-after-visibility-change)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5])
 org-confirm-elisp-link-function 'yes-or-no-p
 org-agenda-start-on-weekday nil
 org-reverse-note-order t
 org-insert-mode-line-in-empty-file t
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp "\\<Stefano Zacchiroli\\>"
 org-remember-templates '(("Web" 119 "* %?\n\n Source: %U, %c\n\n %i" nil "Note (Web)")
			  ("Mail" 109 "* %?\n\n Source: %u, %c\n %i" nil "Note (Mail)")
			  ("Note" 110 "* %?\n\n Source: %U, %c\n\n %i" nil "Note"))
 org-link-abbrev-alist '(("debbug" . "http://bugs.debian.org/"))
 )

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime

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

* Re: Org-mode version 6.31a; "conflicting packages" section lacks some (tiny) viper info
  2009-10-29 16:56 Org-mode version 6.31a; "conflicting packages" section lacks some (tiny) viper info Stefano Zacchiroli
@ 2009-10-29 17:37 ` Stephan Schmitt
  2009-10-30  0:14   ` Stefano Zacchiroli
  2009-10-30  5:47 ` Carsten Dominik
  1 sibling, 1 reply; 5+ messages in thread
From: Stephan Schmitt @ 2009-10-29 17:37 UTC (permalink / raw)
  To: Stefano Zacchiroli; +Cc: emacs-orgmode

Hi Stefano,

I don't know if this helps, but did you try
(global-unset-key (kbd "C-c /"))
in your init file (before org-mode is loaded)?

Greetings,
	Stephan

Stefano Zacchiroli wrote:
> 
> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.  You don't know how to make a good report?  See
> 
>      http://orgmode.org/manual/Feedback.html#Feedback
> 
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
> 
> Heya,
>   I'm using Org mode (beware: I'm an Org newbie!) and Viper mode. I've
> noticed that there is a small incompatibility between the two, as Viper
> (at least in export mode) has "C-c /" set to a command related to search
> settings, whereas Org uses that for the sparse tree menu. To me it is
> not a big deal as Viper's C-c / is, IMO, a completely useless setting
> command, but it is still worth to be mentioned in manual section
> 14.7.2. Can you please do that?
> 
> Given my premise, my "solution" for that is simply to override Viper's
> C-c / as follows:
> 
>   (define-key viper-vi-global-user-map (kbd "C-c /") 'org-sparse-tree)
> 
> It is suboptimal since it sets "C-c /" as org-sparse-tree everywhere,
> while it would be better to do that only in Org mode buffers. I've tried
> with hooks and local maps, but I failed to obtain a more-local
> solution. If you find it, you might want to specify that rather than
> mine.
> 
> Thanks for Org!
> Cheers.
> 
> 
> Emacs  : GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.3)
>  of 2009-10-23 on elegiac, modified by Debian
> Package: Org-mode version 6.31a
> 
> current state:
> ==============
> (setq
>  org-special-ctrl-a/e t
>  org-agenda-files '("~/example.org")
>  org-after-todo-state-change-hook '(org-clock-out-if-current)
>  org-agenda-skip-scheduled-if-done t
>  org-export-preprocess-hook '(org-export-blocks-preprocess)
>  org-tab-first-hook '(org-hide-block-toggle-maybe)
>  org-src-mode-hook '(org-src-mode-configure-edit-buffer)
>  org-confirm-shell-link-function 'yes-or-no-p
>  org-agenda-before-write-hook '(org-agenda-add-entry-text)
>  org-default-notes-file "~/dati/org/notes.org"
>  org-directory "~/dati/org"
>  org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines
> 		  org-optimize-window-after-visibility-change)
>  org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5])
>  org-confirm-elisp-link-function 'yes-or-no-p
>  org-agenda-start-on-weekday nil
>  org-reverse-note-order t
>  org-insert-mode-line-in-empty-file t
>  org-occur-hook '(org-first-headline-recenter)
>  org-from-is-user-regexp "\\<Stefano Zacchiroli\\>"
>  org-remember-templates '(("Web" 119 "* %?\n\n Source: %U, %c\n\n %i" nil "Note (Web)")
> 			  ("Mail" 109 "* %?\n\n Source: %u, %c\n %i" nil "Note (Mail)")
> 			  ("Note" 110 "* %?\n\n Source: %U, %c\n\n %i" nil "Note"))
>  org-link-abbrev-alist '(("debbug" . "http://bugs.debian.org/"))
>  )
> 

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

* Re: Org-mode version 6.31a; "conflicting packages" section lacks some (tiny) viper info
  2009-10-29 17:37 ` Stephan Schmitt
@ 2009-10-30  0:14   ` Stefano Zacchiroli
  0 siblings, 0 replies; 5+ messages in thread
From: Stefano Zacchiroli @ 2009-10-30  0:14 UTC (permalink / raw)
  To: emacs-orgmode

On Thu, Oct 29, 2009 at 06:37:33PM +0100, Stephan Schmitt wrote:
> I don't know if this helps, but did you try
> (global-unset-key (kbd "C-c /"))
> in your init file (before org-mode is loaded)?

Uhm, would that solution would be actually better than mine?
I mean, sure, it would be better in the sense that if in the future
Org-mode changes its handling of "C-c /" I will be ported to the new
behavior.

Still, this solution has the same problem of "globality" than mine: it
will affect all buffers and not only Org ones.

Thanks for the idea anyhow!
Cheers.

PS let me remind that the main bug reported here is the fact that there
   is no documentation about this incompatibility, still I welcome
   alternative solutions :)

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime

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

* Re: Org-mode version 6.31a; "conflicting packages" section lacks some (tiny) viper info
  2009-10-29 16:56 Org-mode version 6.31a; "conflicting packages" section lacks some (tiny) viper info Stefano Zacchiroli
  2009-10-29 17:37 ` Stephan Schmitt
@ 2009-10-30  5:47 ` Carsten Dominik
  2009-10-30  8:32   ` Stefano Zacchiroli
  1 sibling, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2009-10-30  5:47 UTC (permalink / raw)
  To: Stefano Zacchiroli; +Cc: emacs-orgmode

Hi Stefano,

I have now mentioned this conflict in the manual (will show up on the
web after the next release).

- Carsten

On Oct 29, 2009, at 5:56 PM, Stefano Zacchiroli wrote:

>
>
> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.  You don't know how to make a good report?   
> See
>
>     http://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
>
> Heya,
>  I'm using Org mode (beware: I'm an Org newbie!) and Viper mode. I've
> noticed that there is a small incompatibility between the two, as  
> Viper
> (at least in export mode) has "C-c /" set to a command related to  
> search
> settings, whereas Org uses that for the sparse tree menu. To me it is
> not a big deal as Viper's C-c / is, IMO, a completely useless setting
> command, but it is still worth to be mentioned in manual section
> 14.7.2. Can you please do that?
>
> Given my premise, my "solution" for that is simply to override Viper's
> C-c / as follows:
>
>  (define-key viper-vi-global-user-map (kbd "C-c /") 'org-sparse-tree)
>
> It is suboptimal since it sets "C-c /" as org-sparse-tree everywhere,
> while it would be better to do that only in Org mode buffers. I've  
> tried
> with hooks and local maps, but I failed to obtain a more-local
> solution. If you find it, you might want to specify that rather than
> mine.
>
> Thanks for Org!
> Cheers.
>
>
> Emacs  : GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version  
> 2.18.3)
> of 2009-10-23 on elegiac, modified by Debian
> Package: Org-mode version 6.31a
>
> current state:
> ==============
> (setq
> org-special-ctrl-a/e t
> org-agenda-files '("~/example.org")
> org-after-todo-state-change-hook '(org-clock-out-if-current)
> org-agenda-skip-scheduled-if-done t
> org-export-preprocess-hook '(org-export-blocks-preprocess)
> org-tab-first-hook '(org-hide-block-toggle-maybe)
> org-src-mode-hook '(org-src-mode-configure-edit-buffer)
> org-confirm-shell-link-function 'yes-or-no-p
> org-agenda-before-write-hook '(org-agenda-add-entry-text)
> org-default-notes-file "~/dati/org/notes.org"
> org-directory "~/dati/org"
> org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- 
> drawers org-cycle-show-empty-lines
> 		  org-optimize-window-after-visibility-change)
> org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook  
> change-major-mode-hook org-show-block-all append local] 5])
> org-confirm-elisp-link-function 'yes-or-no-p
> org-agenda-start-on-weekday nil
> org-reverse-note-order t
> org-insert-mode-line-in-empty-file t
> org-occur-hook '(org-first-headline-recenter)
> org-from-is-user-regexp "\\<Stefano Zacchiroli\\>"
> org-remember-templates '(("Web" 119 "* %?\n\n Source: %U, %c\n\n %i"  
> nil "Note (Web)")
> 			  ("Mail" 109 "* %?\n\n Source: %u, %c\n %i" nil "Note (Mail)")
> 			  ("Note" 110 "* %?\n\n Source: %U, %c\n\n %i" nil "Note"))
> org-link-abbrev-alist '(("debbug" . "http://bugs.debian.org/"))
> )
>
> -- 
> Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ.  
> Paris 7
> zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
> Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te  
> tutoie
> sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que  
> j'aime
>
>
> _______________________________________________
> 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

- Carsten

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

* Re: Org-mode version 6.31a; "conflicting packages" section lacks some (tiny) viper info
  2009-10-30  5:47 ` Carsten Dominik
@ 2009-10-30  8:32   ` Stefano Zacchiroli
  0 siblings, 0 replies; 5+ messages in thread
From: Stefano Zacchiroli @ 2009-10-30  8:32 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, Oct 30, 2009 at 06:47:38AM +0100, Carsten Dominik wrote:
> I have now mentioned this conflict in the manual (will show up on the
> web after the next release).

Thanks a lot Carsten!

Keep up the good work,
Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime

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

end of thread, other threads:[~2009-10-30  8:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-29 16:56 Org-mode version 6.31a; "conflicting packages" section lacks some (tiny) viper info Stefano Zacchiroli
2009-10-29 17:37 ` Stephan Schmitt
2009-10-30  0:14   ` Stefano Zacchiroli
2009-10-30  5:47 ` Carsten Dominik
2009-10-30  8:32   ` Stefano Zacchiroli

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