Version: 1.4 (using KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-8 (4.0)) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.21cavy1 If the user simply hints return to accept the default filename when invoking 'kdvi-jump-line in Emacs 22. For reasons I don't entirely understand, 'tex-buffer and other command will start failing because the tilde in the filename will be quoted. (Sometimes this doesn't happen. Why exactly that is I'm not sure, but its mostly reproducible.) This behaviour is new to Emacs 22, so perhaps some internals changed, although tex-mode seems to mostly unalterned. Fortunately, the fix is simple. Simply expand the file name right when it's determined. The following patch fixes the problem. If you'd lie, I'd be happy to check it in, but since it's not my module I didn't want to commit without filing a bug report. --Itai Index: doc/kviewshell/kdvi-search.el =================================================================== --- doc/kviewshell/kdvi-search.el (revision 671181) +++ doc/kviewshell/kdvi-search.el (working copy) @@ -70,7 +70,7 @@ Partly copied from tex.el's TeX-master-file and TeX-add-local-master." (if (boundp 'TeX-master) TeX-master - (let ((master-file (read-file-name "Master file (default this file): "))) + (let ((master-file (expand-file-name (read-file-name "Master file (default this file): ")))) (if (y-or-n-p "Save info as local variable? ") (progn (goto-char (point-max))
kdvi is no longer maintained since KDE SC 4, and its functionality is replace by okular. If the issue in this report still exists in or apply to okular in KDE SC 4.10.5 or higher, please reassign the report to okular product or create a new report against okular.