* Bug Report
@ 2005-09-15 21:20 Ernst Joachim Weniger
0 siblings, 0 replies; 10+ messages in thread
From: Ernst Joachim Weniger @ 2005-09-15 21:20 UTC (permalink / raw)
Dear xemacs.org, dear Gnu.org,
today, I sent a lengthy bug reprt, which follows at the end of this
email, to KDE.org. Since this bug report discusses some inconsistencies
of Xemacs and Emacs under KDE, it should be of interest for you.
With best regards
Ernst Joachim Weniger
#-------------------------------------------------------|
| PD Dr. Ernst Joachim Weniger |
| Institut für Physikalische und Theoretische Chemie |
| Universität Regensburg |
| D-93040 Regensburg, Germany |
| Tel: +49 (0)941-943-4722 |
| Fax: +49 (0)941-943-4719 |
| Email: Joachim.Weniger@chemie.uni-regensburg.de |
| Private Phone: +49 {0)89-647377 |
#-------------------------------------------------------|
15 September 2005
PD Dr. Ernst Joachim Weniger
Institut für Physikalische und Theoretische Chemie
Universität Regensburg
D-93040 Regensburg
Germany
KDE BUG REPORT ON KDEDESKTOP VERSION 3.4.0m
===========================================
Since 1000, I have been using various releases of Suse Linux, and I have
also been a happy user of the corresponding releases of the KDE desktop
environment which were part of the Suse Linux distribution.
Unfortunately, this changed when I recently bought a new PC and installed
Suse Linux 9.3: I observed some strange behavior in connection with the
editors Xemacs and Emacs. This had not occurred in the earlier versions
of KDE which I had used. It should be of interest for you that I observed
the correct behavior of Xemacs and Emacs when I use the Gnome desktop
environment.
So, it is a relatively obvious conclusions that the inconsistencies of
Xemacs and Emacs must be due KDE. However, I of course cannot rule out
the possibility that Suse did something wrong when they generated the KDE
binaries which I had used in the installation process.
First, I will describe the problems which I encountered. After that, I
will describe in detail my system configuration and the software as well
as the configuration files of Xemacs and Emacs.
In my file ~/.Xresources, there occurs the line
XEmacs.geometry: 126x62+0+0
which governs the location of Xemacs on my screen.
According to theory, the Xemacs frome should then appear at a defined
location with a defined height and width. However, when I start Xemacs
under KDE, only the location is correct. The Xemacs frame first expands
to the correct size, but then it shrinks to a relatively small rectangle
of correct height, but substantially smaller width. Irritatingly,
however, in some rare cases it expands again after shrinking to produce
an Xemacs from of the correct size. I was not able to detect any pattern
which could explain why I sometimes get a frame with a correct
geometry. Accordingly, in most cases (at least 9 out of 10) I have to set
the geometry of the Xemacs frame manually.
When I start Xemacs under Gnome, I always get the correct geometry.
When working with Xemacs, I normally can mark a region with the left
mouse button. This marked region is copied to the kill ring and I should
be able to paste this region to a different location in the file via the
middle mouse button. However, in my case, the operation produces the
correct result only if the kill ring had been empty. Accordingly, after
marking a region with the left mouse button, I have to explicitly give a
command like Alt-w in order to copy the marked region into the kill
ring. After that, pasting via the middle mouse button works. Obviously,
this is a very annoying behavior.
When I start Xemacs under Gnome, cutting and pasting with the mouse works
as it should. Moreover, cutting and pasting with the mouse works as it
should when I start Emacs under KDE as well as under Gnome.
My file ~/.Xresources also contains the statement
Emacs.geometry: 78x44+0+0
which governs the geometry of the Emacs frame. Here, everything works
fine, both under KDE and Gnome.
However, when I start Emacs under KDE, I have another problem: Normally,
it is possible to mark a region in a different console of the desktop via
the left mouse button and to copy it to the file in my Emacs frame by
pressing the left mouse button. Unfortunately, this cut-and-paste
operation does not work in Emacs under KDE. It does, however, work
correctly in Emacs under Gnome, as well as in Xemacs, both under KDE and
Gnome.
I use a Fujitsu-Siemens Scenic W 620 PC with an Intel Pentium IV chip. My
operating system is Suse 9.3 Linux (the most recent version of Suse
Linux). In addition, I use a Fujitsu-Siemens ScenicView P19-2 LCD screen
with a 19 " diagonal and a maximum resolution of 1280 x 1024.
The problems described above occur under the kdedesktop version 3.4.0m
which was created by the gcc compiler version 3.3.5 20050117 (prerelease)
(Suse Linux). My operating system is Linux (i638) release
2.6.11.4-21.9-smp.
I use the following version of Xemacs:
> Emacs : XEmacs 21.5 (beta18) "chestnut" (+CVS-20041021)
> [Lucid] (i386-suse-linux, Mule) of Tue Mar 22 2005 on mozart
> Package: AUCTeX sumo-2005-01-18
>
> current state:
> ==============
> (setq
> window-system 'x
> LaTeX-version "2e"
> TeX-style-path '("style/" "auto/" "~/TeX/style/" "~/TeX/auto/"
> "/usr/share/xemacs/xemacs-packages/etc/auctex/style/"
> "/usr/share/xemacs/xemacs-packages/etc/auctex/auto/")
> TeX-auto-save nil
> TeX-parse-self nil
> TeX-master t
> )
I use the following version of Emacs:
> Emacs : GNU Emacs 21.3.1 (i586-suse-linux, X toolkit, Xaw3d scroll bars)
> of 2005-03-22 on lorien
> Package: AUC TeX 11.14
>
> current state:
> ==============
> (setq
> window-system 'x
> LaTeX-version "2e"
> TeX-style-path '("style/" "auto/"
> "/usr/share/emacs/site-lisp/auctex/style/"
> "/usr/share/emacs/site-lisp/auctex/auto/")
> TeX-auto-save nil
> TeX-parse-self nil
> TeX-master t
> )
For Xemacs, I am using the configuraion files ~/.xemacs/custom.el
> (custom-set-faces
> '(default ((t (:size "18pt" :family "Courier" :bold t))) t))
> (custom-set-variables
> '(abbrev-mode nil)
> '(blink-cursor-mode t nil (blink-cursor))
> '(case-fold-search nil)
> '(column-number-mode t)
> '(display-time-24hr-format nil)
> '(display-time-day-and-date nil)
> '(enabled-behavior-list '(resize-minibuffer)
> )
> '(fast-lock-mode nil nil (fast-lock))
> '(font-lock-auto-fontify nil)
> '(font-lock-maximum-decoration t)
> '(font-lock-mode nil nil (font-lock))
> '(font-lock-use-colors t)
> '(font-lock-use-fonts nil)
> '(line-number-mode t)
> '(mouse-yank-at-point t)
> '(paren-mode nil nil (paren))
> '(pending-delete-mode t nil (pending-del))
> '(ps-paper-type 'a4)
> '(ps-print-color-p nil))
and ~/.xemacs/init.el
> (put 'narrow-to-region 'disabled nil)
>
> (set-face-background 'default "white") ; frame background
> (set-face-foreground 'default "black") ; normal text
> (set-face-background 'zmacs-region "green") ; When selecting w/
> ; mouse
> (set-face-foreground 'zmacs-region "black")
> (set-face-background 'highlight "blue") ; Ie when selecting
> ; buffers
> (set-face-foreground 'highlight "yellow")
> (set-face-background 'modeline "grey") ; Line at bottom
> ; of buffer
> (set-face-foreground 'modeline "blue")
> (set-face-background 'isearch "yellow") ; When highlighting
> ; while searching
> (set-face-foreground 'isearch "red")
> (setq x-pointer-foreground-color "black") ; Adds to bg color,
> ; so keep black
> (setq x-pointer-background-color "blue") ; This is color
> ; you really
> ; want ptr/crsr
>
> ;;;;;;;;;;;;;;;;;;;;; EJW: Eigene Modifikationen;;;;;;;;;;;;;;;;;;;;;;;;;
> (setq-default try-oblique0before-italic-fonts t)
> (set-language-environment "Latin-1")
>
> (setq default-major-mode 'text-mode)
> (setq text-mode-hook 'turn-on-auto-fill)
> (setq-default fill-column 73)
>
> (setq-default transient-mark-mode t)
>
> (line-number-mode 1)
> (column-number-mode 1)
>
> (global-set-key 'f1 'kill-primary-selection) ;; Cut
> (global-set-key 'f2 'copy-primary-selection) ;; Copy
> (global-set-key 'f3 'yank-clipboard-selection) ;; Paste
>
> (global-set-key 'f4 'expand-abbrev)
>
> (read-abbrev-file "~/.abbrev_defs")
> (setq save-abbrevs t)
>
> (load-file "/home/jo/.xemacs/Latex.MACS")
>
> (load-file "/home/jo/.xemacs/Auctex.EJW")
In ~/.xemacs/init.el, the files ~/.xemacs/Latex.MACS
> (defalias 'eqn (read-kbd-macro
> "\\begin{equation} RET % 2*SPC \\label{} 2*RET \\end{equation} RET 2*<up>"))
>
> (defalias 'eqar (read-kbd-macro
> "\\begin{eqnarray} RET % 2*SPC \\label{} RET \\lefteqn{} SPC \\nonumber SPC \\\\ 2*RET \\\\ RET % 2*SPC \\label{} 2*RET \\end{eqnarray} RET 2*<up>"))
>
> (defalias 'ali (read-kbd-macro
> "\\begin{align} RET % 2*SPC \\label{} RET SPC & SPC \\; SPC = SPC \\; SPC RET \\\\ RET % 2*SPC \\label{} RET SPC & SPC \\; SPC = SPC \\; RET \\end{align} RET 5*<up>"))
>
> (defalias 'sub (read-kbd-macro
> "\\begin{subequations} RET % 2*SPC \\label{} 2*RET \\end{subequations} RET 2*<up>"))
>
and ~/.xemacs/Auctex.EJW
> ;;;;; Compare /usr/share/emacs/site-lisp/auctex/latex.el
> ;;;;; or /usr/share/xemacs/xemacs-packages/lisp/auctex/latex.el
>
> (require 'tex-site)
> (add-hook 'TeX-mode-hook
> '(lambda ()
> (LaTeX-math-mode)
> ))
>
> (defcustom LaTeX-equation-label ""
> "*Default prefix to equation labels."
> :group 'LaTeX-label
> :type 'string)
> (make-variable-buffer-local 'LaTeX-equation-label)
>
> (defcustom LaTeX-eqnarray-label LaTeX-equation-label
> "*Default prefix to eqnarray labels."
> :group 'LaTeX-label
> :type 'string)
> (make-variable-buffer-local 'LaTeX-eqnarray-label)
>
> ;; (setq LaTeX-section-hook
> ;; '(LaTeX-section-heading
> ;; LaTeX-section-title
> ;; LaTeX-section-section
> ;; LaTeX-section-label))
> ;;
> ;; :type 'hook
> ;; :options '(LaTeX-section-heading
> ;; LaTeX-section-title
> ;; LaTeX-section-section
> ;; LaTeX-section-label))
>
> (defcustom LaTeX-section-label
> '(("chapter" . "Cha:")
> ("section" . "Sec:")
> ("subsection" . "Sub:"))
> "Default prefix when asking for a label.
>
> If it is a string, it it used unchanged for all kinds of sections.
> If it is nil, no label is inserted.
> If it is a list, the list is searched for a member whose car is equal
> to the name of the sectioning command being inserted. The cdr is then
> used as the prefix. If the name is not found, or if the cdr is nil,
> no label is inserted."
> :group 'LaTeX-label
> :type '(choice (const :tag "none" nil)
> (string :format "%v" :tag "Common")
> (repeat :menu-tag "Level specific"
> :format "\n%v%i"
> (cons :format "%v"
> (string :tag "Type")
> (choice :tag "Prefix"
> (const :tag "none" nil)
> (string :format "%v"))))))
>
> (setq hilit-LaTeX-commands t)
> (setq hilit-AmSLaTeX-commands t)
>
> (setq minibuffer-max-depth nil)
are called.
For Emacs, I use the configuration file ~/.ejw_custom
> (custom-set-variables
> ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
> ;; Your init file should contain only one such instance.
> '(case-fold-search t)
> '(column-number-mode t)
> '(current-language-environment "Latin-1")
> '(default-input-method "latin-1-prefix")
> '(delete-selection-mode nil nil (delsel))
> '(fill-column 73)
> '(global-hl-line-mode t nil (hl-line))
> '(hl-line-face (quote highlight))
> '(kill-read-only-ok nil)
> '(kill-ring-max 70)
> '(load-home-init-file t)
> '(mouse-yank-at-point t)
> '(next-line-add-newlines t)
> '(scroll-bar-mode (quote right))
> '(show-paren-mode t nil (paren))
> '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify)))
> '(transient-mark-mode t)
> '(user-full-name "Ernst Joachim Weniger")
> '(x-select-enable-clipboard t))
>
> (setq-default case-fold-search nil)
>
> (setq default-major-mode 'text-mode)
> (set-language-environment "Latin-1")
> (add-hook 'text-mode-hook 'turn-on-auto-fill)
> (setq-default fill-column 73)
>
> (put 'narrow-to-region 'disabled nil)
>
> (setq-default transient-mark-mode t)
>
> (line-number-mode 1)
> (column-number-mode 1)
>
> (global-set-key [(f4)] 'expand-abbrev)
> (read-abbrev-file "~/.abbrev_defs")
> (setq save-abbrevs t)
>
> (load-file "/home/jo/.xemacs/Auctex.EJW")
> (load-file "/home/jo/.xemacs/Latex.MACS")
>
> (custom-set-faces
> ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
> ;; Your init file should contain only one such instance.
> '(default ((t (:size "18pt" :family "Courier"))))
> '(highlight ((((class color) (background light)) (:background "pink" :family "courier")))))
This configuration file for Emacs also calles the configuration files
~/.xemacs/Auctex.EJW and ~/.xemacs/Latex.MACS, which are also used in
Xemacs.
Yours sincerely
Ernst Joachim Weniger
#-------------------------------------------------------|
| PD Dr. Ernst Joachim Weniger |
| Institut für Physikalische und Theoretische Chemie |
| Universität Regensburg |
| D-93040 Regensburg, Germany |
| Tel: +49 (0)941-943-4722 |
| Fax: +49 (0)941-943-4719 |
| Email: Joachim.Weniger@chemie.uni-regensburg.de |
#-------------------------------------------------------|
^ permalink raw reply [flat|nested] 10+ messages in thread
* Bug report
@ 2009-10-06 9:12 Otto Pichlhoefer
2009-10-07 6:17 ` Carsten Dominik
0 siblings, 1 reply; 10+ messages in thread
From: Otto Pichlhoefer @ 2009-10-06 9:12 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 4452 bytes --]
Hello,
I ran in to the following problem.
GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
Computing completion candidates...
Org-mode version 6.28e
On pressing <a> (Agenda for ...) in the *Agenda Commands* buffer Emacs
throws up the following error:
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p t)
-(2 t)
(let* ((nt ...) (n1 org-agenda-start-on-weekday) (d ...)) (- sd (+ ...
d)))
(if (or (null org-agenda-start-on-weekday) (< org-agenda-ndays 7)) sd
(let* (... ... ...) (- sd ...)))
(let* ((org-agenda-start-on-weekday ...) (thefiles ...) (files thefiles)
(today ...) (sd ...) (start ...) (day-numbers ...) (day-cnt 0)
(inhibit-redisplay ...) s e rtn rtnall file date d start-pos end-pos todayp
nd wd clocktable-start clocktable-end) (setq org-agenda-redo-command (list
... ... start-day ndays)) (setq ndays (or ndays org-agenda-ndays) nd ndays)
(while (> ndays 1) (push ... day-numbers) (setq ndays ...)) (setq
day-numbers (nreverse day-numbers)) (setq clocktable-start (car day-numbers)
clocktable-end (1+ ...)) (org-prepare-agenda "Day/Week") (org-set-local
(quote org-starting-day) (car day-numbers)) (org-set-local (quote
org-include-all-loc) include-all) (org-set-local (quote org-agenda-span)
(org-agenda-ndays-to-span nd)) (when (and ... ...) (setq files thefiles
rtnall nil) (while ... ...) (when rtnall ... ... ...)) (unless
org-agenda-compact-blocks (let* ... ... ...) (add-text-properties s ...
...)) (while (setq d ...) (setq date ... wd ... s ...) (if ... ... ...)
(setq files thefiles rtnall nil) (while ... ...) (if
org-agenda-include-diary ...) (if ... ...)) (when (and
org-agenda-clockreport-mode clocktable-start) (let ... ... ... ... ... ...
...)) (goto-char (point-min)) (or org-agenda-multi (org-fit-agenda-window))
(unless (and ... ...) (goto-char ...) (recenter -1) (if ... ...)) (goto-char
(or start-pos 1)) (add-text-properties (point-min) (point-max) (quote ...))
(org-finalize-agenda) (setq buffer-read-only t) (message ""))
org-agenda-list(nil)
call-interactively(org-agenda-list)
(cond ((setq entry ...) (if ... ... ...)) ((equal keys "C") (setq
org-agenda-custom-commands org-agenda-custom-commands-orig)
(customize-variable ...)) ((equal keys "a") (call-interactively ...))
((equal keys "s") (call-interactively ...)) ((equal keys "t")
(call-interactively ...)) ((equal keys "T") (org-call-with-arg ... ...))
((equal keys "m") (call-interactively ...)) ((equal keys "M")
(org-call-with-arg ... ...)) ((equal keys "e") (call-interactively ...))
((equal keys "L") (unless ... ...) (unless restriction ... ...)) ((equal
keys "#") (call-interactively ...)) ((equal keys "/") (call-interactively
...)) ((equal keys "!") (customize-variable ...)) (t (error "Invalid agenda
key")))
(let* ((prefix-descriptions nil) (org-agenda-custom-commands-orig
org-agenda-custom-commands) (org-agenda-custom-commands ...) (buf ...) (bfn
...) entry key type match lprops ans) (unless
org-agenda-overriding-restriction (put ... ... nil) (setq
org-agenda-restrict nil) (move-marker org-agenda-restrict-begin nil)
(move-marker org-agenda-restrict-end nil)) (put (quote
org-agenda-redo-command) (quote org-lprops) nil) (setq
org-agenda-last-dispatch-buffer (current-buffer)) (unless keys (setq ans ...
keys ... restriction ...)) (when (and ... restriction) (put ... ... ...)
(cond ... ...)) (require (quote calendar)) (cond (... ...) (... ... ...)
(... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (...
... ...) (... ...) (... ...) (... ...) (t ...)))
(catch (quote exit) (let* (... ... ... ... ... entry key type match lprops
ans) (unless org-agenda-overriding-restriction ... ... ... ...) (put ... ...
nil) (setq org-agenda-last-dispatch-buffer ...) (unless keys ...) (when ...
... ...) (require ...) (cond ... ... ... ... ... ... ... ... ... ... ... ...
... ...)))
org-agenda(nil)
call-interactively(org-agenda nil nil)
Please confirm that this is a bug and advice on what to do...
Regards,
[image: Medical University of Vienna]
<http://www.meduniwien.ac.at/zph/en> *Otto
Pichlhoefer, MD*
Medical University of Vienna, Center for Public Health
Department of General Practice and Family Medicine
Währinger Straße 13a
A-1090 Wien, Austria
Tel. +43 (1) 4277-65960
Fax. +43 (1) 25 33033 4532
Mobil +43 (664) 80016-34611
Email: otto.pichlhoefer@meduniwien.ac.at
[-- Attachment #1.2: Type: text/html, Size: 6671 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] 10+ messages in thread
* Re: Bug report
2009-10-06 9:12 Bug report Otto Pichlhoefer
@ 2009-10-07 6:17 ` Carsten Dominik
0 siblings, 0 replies; 10+ messages in thread
From: Carsten Dominik @ 2009-10-07 6:17 UTC (permalink / raw)
To: Otto Pichlhoefer; +Cc: emacs-orgmode
Hi Otto,
my guess is that you have set the variable org-agenda-start-on-weekday
to t, which is not a valid value. Set it to the number 1 if you want
to start on Monday.
HTH
- Carsten
On Oct 6, 2009, at 11:12 AM, Otto Pichlhoefer wrote:
> Hello,
>
> I ran in to the following problem.
>
> GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
> Computing completion candidates...
> Org-mode version 6.28e
>
> On pressing <a> (Agenda for ...) in the *Agenda Commands* buffer
> Emacs throws up the following error:
>
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-
> p t)
> -(2 t)
> (let* ((nt ...) (n1 org-agenda-start-on-weekday) (d ...)) (- sd
> (+ ... d)))
> (if (or (null org-agenda-start-on-weekday) (< org-agenda-ndays 7))
> sd (let* (... ... ...) (- sd ...)))
> (let* ((org-agenda-start-on-weekday ...) (thefiles ...) (files
> thefiles) (today ...) (sd ...) (start ...) (day-numbers ...) (day-
> cnt 0) (inhibit-redisplay ...) s e rtn rtnall file date d start-pos
> end-pos todayp nd wd clocktable-start clocktable-end) (setq org-
> agenda-redo-command (list ... ... start-day ndays)) (setq ndays (or
> ndays org-agenda-ndays) nd ndays) (while (> ndays 1) (push ... day-
> numbers) (setq ndays ...)) (setq day-numbers (nreverse day-numbers))
> (setq clocktable-start (car day-numbers) clocktable-end (1+ ...))
> (org-prepare-agenda "Day/Week") (org-set-local (quote org-starting-
> day) (car day-numbers)) (org-set-local (quote org-include-all-loc)
> include-all) (org-set-local (quote org-agenda-span) (org-agenda-
> ndays-to-span nd)) (when (and ... ...) (setq files thefiles rtnall
> nil) (while ... ...) (when rtnall ... ... ...)) (unless org-agenda-
> compact-blocks (let* ... ... ...) (add-text-properties s ... ...))
> (while (setq d ...) (setq date ... wd ... s ...) (if ... ... ...)
> (setq files thefiles rtnall nil) (while ... ...) (if org-agenda-
> include-diary ...) (if ... ...)) (when (and org-agenda-clockreport-
> mode clocktable-start) (let ... ... ... ... ... ... ...)) (goto-char
> (point-min)) (or org-agenda-multi (org-fit-agenda-window)) (unless
> (and ... ...) (goto-char ...) (recenter -1) (if ... ...)) (goto-char
> (or start-pos 1)) (add-text-properties (point-min) (point-max)
> (quote ...)) (org-finalize-agenda) (setq buffer-read-only t)
> (message ""))
> org-agenda-list(nil)
> call-interactively(org-agenda-list)
> (cond ((setq entry ...) (if ... ... ...)) ((equal keys "C") (setq
> org-agenda-custom-commands org-agenda-custom-commands-orig)
> (customize-variable ...)) ((equal keys "a") (call-
> interactively ...)) ((equal keys "s") (call-interactively ...))
> ((equal keys "t") (call-interactively ...)) ((equal keys "T") (org-
> call-with-arg ... ...)) ((equal keys "m") (call-interactively ...))
> ((equal keys "M") (org-call-with-arg ... ...)) ((equal keys "e")
> (call-interactively ...)) ((equal keys "L") (unless ... ...) (unless
> restriction ... ...)) ((equal keys "#") (call-interactively ...))
> ((equal keys "/") (call-interactively ...)) ((equal keys "!")
> (customize-variable ...)) (t (error "Invalid agenda key")))
> (let* ((prefix-descriptions nil) (org-agenda-custom-commands-orig
> org-agenda-custom-commands) (org-agenda-custom-commands ...)
> (buf ...) (bfn ...) entry key type match lprops ans) (unless org-
> agenda-overriding-restriction (put ... ... nil) (setq org-agenda-
> restrict nil) (move-marker org-agenda-restrict-begin nil) (move-
> marker org-agenda-restrict-end nil)) (put (quote org-agenda-redo-
> command) (quote org-lprops) nil) (setq org-agenda-last-dispatch-
> buffer (current-buffer)) (unless keys (setq ans ... keys ...
> restriction ...)) (when (and ... restriction) (put ... ... ...)
> (cond ... ...)) (require (quote calendar)) (cond (... ...)
> (... ... ...) (... ...) (... ...) (... ...) (... ...) (... ...)
> (... ...) (... ...) (... ... ...) (... ...) (... ...) (... ...)
> (t ...)))
> (catch (quote exit) (let* (... ... ... ... ... entry key type
> match lprops ans) (unless org-agenda-overriding-
> restriction ... ... ... ...) (put ... ... nil) (setq org-agenda-last-
> dispatch-buffer ...) (unless keys ...) (when ... ... ...)
> (require ...)
> (cond ... ... ... ... ... ... ... ... ... ... ... ... ... ...)))
> org-agenda(nil)
> call-interactively(org-agenda nil nil)
>
> Please confirm that this is a bug and advice on what to do...
>
> Regards,
>
>
>
> Otto Pichlhoefer, MD
> Medical University of Vienna, Center for Public Health
> Department of General Practice and Family Medicine
> Währinger Straße 13a
> A-1090 Wien, Austria
> Tel. +43 (1) 4277-65960
> Fax. +43 (1) 25 33033 4532
> Mobil +43 (664) 80016-34611
> Email: otto.pichlhoefer@meduniwien.ac.at
> _______________________________________________
> 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] 10+ messages in thread
* Bug report
@ 2016-06-01 7:02 Dan
2016-06-01 17:45 ` Nicolas Goaziou
0 siblings, 1 reply; 10+ messages in thread
From: Dan @ 2016-06-01 7:02 UTC (permalink / raw)
To: emacs-orgmode
Hi,
Here is how I reproduce the bug:
In org-mode (latest version) write \alpha. Then, put the cursor somewhere in the word. Press C-c C-x \ in order to display nice utf letters (greek, superscript etc). Then move right with the keyboard. Emacs crashes every time.
Thank you,
Daniel Fleischer
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Bug report
2016-06-01 7:02 Dan
@ 2016-06-01 17:45 ` Nicolas Goaziou
0 siblings, 0 replies; 10+ messages in thread
From: Nicolas Goaziou @ 2016-06-01 17:45 UTC (permalink / raw)
To: Dan; +Cc: emacs-orgmode
Hello,
Dan <daniel.f@gmx.us> writes:
> Here is how I reproduce the bug:
>
> In org-mode (latest version) write \alpha. Then, put the cursor
> somewhere in the word. Press C-c C-x \ in order to display nice utf
> letters (greek, superscript etc). Then move right with the keyboard.
> Emacs crashes every time.
I cannot reproduce it. However, if you can do it reliably, I suggest to
report it as an Emacs bug instead (e.g., with `report-emacs-bug').
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 10+ messages in thread
* Bug report
@ 2022-06-01 7:53 Topi Mäenpää
2022-06-01 15:37 ` Eric S Fraga
0 siblings, 1 reply; 10+ messages in thread
From: Topi Mäenpää @ 2022-06-01 7:53 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
* Bug report
I have trouble escaping a dollar sign in org-mode documents. I
tried to enter the following:
#+begin_src
A (14 G$) B (6 G$)
#+end_src
This may look weird to an American viewer, but in Finland we place all
units (including monetary units) after the quantity. Anyhow, org-mode
interprets this as follows:
#+begin_src
A (14 G<math>) B (6 G</math>)
#+end_src
This is the documented behavior: single '$' characters are treated as
math delimiters if
1. the enclosed text contains at most two line breaks (there are none).
2. the enclosed text is directly attached to the '$' characters with
no whitespace in between (it is).
3. the closing '$' is followed by a whitespace, punctuation or a dash
(it is).
The standard trick of adding a zero-width space (`<zws>`) after the
first '$' (breaking rule 2 above) doesn't however work as expected:
#+begin_src
A (14 G$<zws>) B (6 G$)
#+end_src
is rendered as
#+begin_src
A (14 G<math><zws>) B (6 G$</math>)
#+end_src
Changing the zero-width space to a visible space fixes the
interpretation, but also visually moves the closing parenthesis.
I believe zero-width space is incorrectly interpreted as a
non-whitespace here. It does not seem to be an exporter bug as both
LaTeX and HTML exporters are affected.
Thanks,
Topi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Bug report
2022-06-01 7:53 Topi Mäenpää
@ 2022-06-01 15:37 ` Eric S Fraga
2022-06-01 16:24 ` Max Nikulin
2022-06-02 15:30 ` Topi Mäenpää
0 siblings, 2 replies; 10+ messages in thread
From: Eric S Fraga @ 2022-06-01 15:37 UTC (permalink / raw)
To: Topi Mäenpää; +Cc: emacs-orgmode@gnu.org
On Wednesday, 1 Jun 2022 at 07:53, Topi Mäenpää wrote:
> I have trouble escaping a dollar sign in org-mode documents. I
> tried to enter the following:
>
> #+begin_src
> A (14 G$) B (6 G$)
> #+end_src
I have no problem with this. What version of org are you using?
Out of curiosity, what language is this? I ask because #+begin_src
expects a language argument normally. Otherwise, I would use an example
block, e.g.:
#+begin_example
A (14 G$) B (6 G$)
#+end_example
which may also help with your problem.
--
: Eric S Fraga, with org release_9.5.3-520-g4dda0d in Emacs 29.0.50
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Bug report
2022-06-01 15:37 ` Eric S Fraga
@ 2022-06-01 16:24 ` Max Nikulin
2022-06-01 16:49 ` Eric S Fraga
2022-06-02 15:30 ` Topi Mäenpää
1 sibling, 1 reply; 10+ messages in thread
From: Max Nikulin @ 2022-06-01 16:24 UTC (permalink / raw)
To: Org Mode List; +Cc: Topi Mäenpää
On 01/06/2022 22:37, Eric S Fraga wrote:
> On Wednesday, 1 Jun 2022 at 07:53, Topi Mäenpää wrote:
>> I have trouble escaping a dollar sign in org-mode documents. I
>> tried to enter the following:
>>
>> #+begin_src
>> A (14 G$) B (6 G$)
>> #+end_src
You may use entities: \dollar
> I have no problem with this. What version of org are you using?
>
> Out of curiosity, what language is this? I ask because #+begin_src
I think, it is org and #+begin_src is used to demonstrate a snippet of
org markup, so to reproduce the problem try it in a regular paragraph.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Bug report
2022-06-01 15:37 ` Eric S Fraga
2022-06-01 16:24 ` Max Nikulin
@ 2022-06-02 15:30 ` Topi Mäenpää
1 sibling, 0 replies; 10+ messages in thread
From: Topi Mäenpää @ 2022-06-02 15:30 UTC (permalink / raw)
To: Eric S Fraga; +Cc: emacs-orgmode@gnu.org
Looks like I was trying to be too clever. :)
I used org-mode to write the bug report. The problem isn't that the formatting fails in source code blocks. I put it in one so that it would appear verbatim. If you copy the contents of the block into a normal paragraph, you should be able to see the problem.
I'm running Emacs 29.0.50 (from git) and org 9.5.3.
Sent with Proton Mail secure email.
------- Original Message -------
On Wednesday, June 1st, 2022 at 6:37 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> On Wednesday, 1 Jun 2022 at 07:53, Topi Mäenpää wrote:
>
> > I have trouble escaping a dollar sign in org-mode documents. I
> > tried to enter the following:
> >
> > #+begin_src
> > A (14 G$) B (6 G$)
> > #+end_src
>
>
> I have no problem with this. What version of org are you using?
>
> Out of curiosity, what language is this? I ask because #+begin_src
> expects a language argument normally. Otherwise, I would use an example
> block, e.g.:
>
> #+begin_example
> A (14 G$) B (6 G$)
> #+end_example
>
> which may also help with your problem.
>
> --
> : Eric S Fraga, with org release_9.5.3-520-g4dda0d in Emacs 29.0.50
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-06-02 15:31 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-15 21:20 Bug Report Ernst Joachim Weniger
-- strict thread matches above, loose matches on Subject: below --
2009-10-06 9:12 Bug report Otto Pichlhoefer
2009-10-07 6:17 ` Carsten Dominik
2016-06-01 7:02 Dan
2016-06-01 17:45 ` Nicolas Goaziou
2022-06-01 7:53 Topi Mäenpää
2022-06-01 15:37 ` Eric S Fraga
2022-06-01 16:24 ` Max Nikulin
2022-06-01 16:49 ` Eric S Fraga
2022-06-02 15:30 ` Topi Mäenpää
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.