all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* syntax highlighting / font lock for latex in emacs 21
@ 2003-02-13 21:28 Steve Petersen
  2003-02-13 22:02 ` Steve Petersen
  2003-02-13 22:09 ` syntax highlighting / font lock for latex in emacs 21 David Kastrup
  0 siblings, 2 replies; 17+ messages in thread
From: Steve Petersen @ 2003-02-13 21:28 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 514 bytes --]


Hey folks,

I just upgraded to RedHat 8.0, and with it came emacs 21.2.1.  I'm using 
the same old .emacs file and such.  But for some reason, latex files 
will not automatically fontify (though emacs does go into LaTeX mode, 
and global-font-lock is on).  When I force fontification using M-g M-g, 
only comments get fontified--not LaTeX commands, etc.

I'm supposed to be writing a paper and this is so disconcerting... 
please help!  I've attached my .emacs file, in case that helps.

Thanks in advance,
Steve

[-- Attachment #2: .emacs --]
[-- Type: text/plain, Size: 2749 bytes --]

; rem these out for non-ifs emacs
; (define-key global-map "\C-x?" 'help-command)
; (define-key global-map "\C-h" 'delete-backward-char)

(setq-default abbrev-mode t)
(read-abbrev-file "~/.abbrev_defs")
(setq save-abbrevs t)

(setq-default transient-mark-mode t)

(add-hook 'text-mode-hook 'turn-on-auto-fill)

(custom-set-variables
 '(tex-dvi-view-command "xdvi" t)
 '(backup-by-copying t)
 '(global-font-lock-mode t nil (font-lock))
 '(tex-default-mode (quote latex-mode) t)
 '(font-lock-global-modes t))
(custom-set-faces)

; don't know if this works...

(require 'tex-site)
(setq outline-minor-mode-prefix "\C-c\C-o") ; Or whatever...
; might be better "\C-c\C-o"

; below from Per Abrahamsen of auc-tex group
(defun turn-on-outline-minor-mode ()
  (outline-minor-mode 1))

(add-hook 'LaTeX-mode-hook 'turn-on-outline-minor-mode)
(add-hook 'emacs-lisp-mode-hook 'turn-on-outline-minor-mode)
(add-hook 'TeXinfo-mode-hook 'turn-on-outline-minor-mode)

; will this work?

; (load-library "tex-jp.el")
; apparently not

; try this since could also use in regular text

(add-hook 'text-mode-hook 'turn-on-outline-minor-mode)

;
; this was added to have a local abbrev expansion in LaTeX
; (see discussion in email 'compnet' folder)

(define-abbrev-table 'LaTeX-mode-abbrev-table nil)
(add-hook 'LaTeX-mode-hook
          (lambda ()
            (setq local-abbrev-table LaTeX-mode-abbrev-table)))

; ; trying to set up xae (for editing xml etc; recommended by emacs
; ; newsgroups) from installation in directory below

; (add-to-list 'load-path (expand-file-name
; "/usr/share/emacs/20.4/site-lisp/xae-1.0beta6/lisp"))
; (require 'xae)

; ;
; ; see if this corrects html-loading bug w/ xae (suggested by some guy
; ; on the xae mailing list in March)
; ;

; (setq auto-mode-alist (cons '("\\.xsl$" . xae-mode) auto-mode-alist))
; (setq auto-mode-alist (cons '("\\.htm$" . xae-mode) auto-mode-alist))
; (setq auto-mode-alist (cons '("\\.html$" . xae-mode) auto-mode-alist))
; (setq auto-mode-alist (cons '("\\.xsd$" . xae-mode) auto-mode-alist))
; (setq auto-mode-alist (cons '("\\.hs$" . xae-mode) auto-mode-alist))
; (setq auto-mode-alist (cons '("\\.jhm$" . xae-mode) auto-mode-alist))


;
; using html-helper-mode temporarily instead of xae above (too
; confusing and I need to get html going for my class website)
;

(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)
(setq auto-mode-alist (cons '("\\.html$" . html-helper-mode)
auto-mode-alist))
(setq html-helper-do-write-file-hooks t)
(setq html-helper-build-new-buffer t)
(setq html-helper-address-string "<a href=\"mailto:spetey@umich.edu\">Steve Petersen</a>")

(autoload 'maniac-fill-mode "maniac" nil t)

(setq outline-regexp "[@\^L]+")

(global-set-key "\M-]" 'unexpand-abbrev)

[-- Attachment #3: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: syntax highlighting / font lock for latex in emacs 21
  2003-02-13 21:28 syntax highlighting / font lock for latex in emacs 21 Steve Petersen
@ 2003-02-13 22:02 ` Steve Petersen
  2003-02-13 22:54   ` David Kastrup
  2003-02-13 22:09 ` syntax highlighting / font lock for latex in emacs 21 David Kastrup
  1 sibling, 1 reply; 17+ messages in thread
From: Steve Petersen @ 2003-02-13 22:02 UTC (permalink / raw)


Sorry.  As always seems to happen, I figured it out not after the hour 
or so scouring the web, but instead only moments after actually posting 
somewhere and bugging people.  I've updated auctex using an rpm and 
everything suddenly works like a charm, though once again I have little 
understanding as to why.

Oh, except the colors are kinda ugly!  But I expect that can be fixed 
later, *after* the paper is written.

Thanks anyway,
Steve

Steve Petersen wrote:
> 
> Hey folks,
> 
> I just upgraded to RedHat 8.0, and with it came emacs 21.2.1.  I'm using 
> the same old .emacs file and such.  But for some reason, latex files 
> will not automatically fontify (though emacs does go into LaTeX mode, 
> and global-font-lock is on).  When I force fontification using M-g M-g, 
> only comments get fontified--not LaTeX commands, etc.
> 
> I'm supposed to be writing a paper and this is so disconcerting... 
> please help!  I've attached my .emacs file, in case that helps.
> 
> Thanks in advance,
> Steve
> 
> 
> ------------------------------------------------------------------------
> 
> ; rem these out for non-ifs emacs
> ; (define-key global-map "\C-x?" 'help-command)
> ; (define-key global-map "\C-h" 'delete-backward-char)
> 
> (setq-default abbrev-mode t)
> (read-abbrev-file "~/.abbrev_defs")
> (setq save-abbrevs t)
> 
> (setq-default transient-mark-mode t)
> 
> (add-hook 'text-mode-hook 'turn-on-auto-fill)
> 
> (custom-set-variables
>  '(tex-dvi-view-command "xdvi" t)
>  '(backup-by-copying t)
>  '(global-font-lock-mode t nil (font-lock))
>  '(tex-default-mode (quote latex-mode) t)
>  '(font-lock-global-modes t))
> (custom-set-faces)
> 
> ; don't know if this works...
> 
> (require 'tex-site)
> (setq outline-minor-mode-prefix "\C-c\C-o") ; Or whatever...
> ; might be better "\C-c\C-o"
> 
> ; below from Per Abrahamsen of auc-tex group
> (defun turn-on-outline-minor-mode ()
>   (outline-minor-mode 1))
> 
> (add-hook 'LaTeX-mode-hook 'turn-on-outline-minor-mode)
> (add-hook 'emacs-lisp-mode-hook 'turn-on-outline-minor-mode)
> (add-hook 'TeXinfo-mode-hook 'turn-on-outline-minor-mode)
> 
> ; will this work?
> 
> ; (load-library "tex-jp.el")
> ; apparently not
> 
> ; try this since could also use in regular text
> 
> (add-hook 'text-mode-hook 'turn-on-outline-minor-mode)
> 
> ;
> ; this was added to have a local abbrev expansion in LaTeX
> ; (see discussion in email 'compnet' folder)
> 
> (define-abbrev-table 'LaTeX-mode-abbrev-table nil)
> (add-hook 'LaTeX-mode-hook
>           (lambda ()
>             (setq local-abbrev-table LaTeX-mode-abbrev-table)))
> 
> ; ; trying to set up xae (for editing xml etc; recommended by emacs
> ; ; newsgroups) from installation in directory below
> 
> ; (add-to-list 'load-path (expand-file-name
> ; "/usr/share/emacs/20.4/site-lisp/xae-1.0beta6/lisp"))
> ; (require 'xae)
> 
> ; ;
> ; ; see if this corrects html-loading bug w/ xae (suggested by some guy
> ; ; on the xae mailing list in March)
> ; ;
> 
> ; (setq auto-mode-alist (cons '("\\.xsl$" . xae-mode) auto-mode-alist))
> ; (setq auto-mode-alist (cons '("\\.htm$" . xae-mode) auto-mode-alist))
> ; (setq auto-mode-alist (cons '("\\.html$" . xae-mode) auto-mode-alist))
> ; (setq auto-mode-alist (cons '("\\.xsd$" . xae-mode) auto-mode-alist))
> ; (setq auto-mode-alist (cons '("\\.hs$" . xae-mode) auto-mode-alist))
> ; (setq auto-mode-alist (cons '("\\.jhm$" . xae-mode) auto-mode-alist))
> 
> 
> ;
> ; using html-helper-mode temporarily instead of xae above (too
> ; confusing and I need to get html going for my class website)
> ;
> 
> (autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)
> (setq auto-mode-alist (cons '("\\.html$" . html-helper-mode)
> auto-mode-alist))
> (setq html-helper-do-write-file-hooks t)
> (setq html-helper-build-new-buffer t)
> (setq html-helper-address-string "<a href=\"mailto:spetey@umich.edu\">Steve Petersen</a>")
> 
> (autoload 'maniac-fill-mode "maniac" nil t)
> 
> (setq outline-regexp "[@\^L]+")
> 
> (global-set-key "\M-]" 'unexpand-abbrev)

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

* Re: syntax highlighting / font lock for latex in emacs 21
  2003-02-13 21:28 syntax highlighting / font lock for latex in emacs 21 Steve Petersen
  2003-02-13 22:02 ` Steve Petersen
@ 2003-02-13 22:09 ` David Kastrup
  1 sibling, 0 replies; 17+ messages in thread
From: David Kastrup @ 2003-02-13 22:09 UTC (permalink / raw)


Steve Petersen <spetey@umich.edu> writes:

> I just upgraded to RedHat 8.0, and with it came emacs 21.2.1.

Which version of AUCTeX do you have installed?  You make a point of
loading it.  AUCTeX RPMs can be found on
<URL:http://www.nongnu.org/auctex>, and I'd recommend using 11.14
(actually, I'd recommend a newer version, but I haven't got around to
releasing one).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

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

* Re: syntax highlighting / font lock for latex in emacs 21
  2003-02-13 22:02 ` Steve Petersen
@ 2003-02-13 22:54   ` David Kastrup
       [not found]     ` <mailman.1963.1045192437.21513.help-gnu-emacs@gnu.org>
       [not found]     ` <dak@gnu.org>
  0 siblings, 2 replies; 17+ messages in thread
From: David Kastrup @ 2003-02-13 22:54 UTC (permalink / raw)


Steve Petersen <spetey@umich.edu> writes:

> Sorry.  As always seems to happen, I figured it out not after the
> hour or so scouring the web, but instead only moments after actually
> posting somewhere and bugging people.  I've updated auctex using an
> rpm and everything suddenly works like a charm, though once again I
> have little understanding as to why.

I would want to point out that rpm files for RedHat 8.0 can also be
found for <URL:http://preview-latex.sourceforge.net> if you follow
the link to the project page and to Files from there.  If your paper
has any non-trivial amount of mathematics in it, a must.

> Oh, except the colors are kinda ugly!  But I expect that can be fixed
> later, *after* the paper is written.

I agree, but have not found out how to fix them, yet.  And I am the
maintainer of AUCTeX...  Shows you the incompetence that some projects
have to suffer under.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

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

* Re: syntax highlighting / font lock for latex in emacs 21
       [not found]     ` <dak@gnu.org>
@ 2003-02-14  3:13       ` Peter S Galbraith
  2003-11-28  1:42       ` A question about GTK file selection dialog and `use-dialog-box' Peter S Galbraith
  1 sibling, 0 replies; 17+ messages in thread
From: Peter S Galbraith @ 2003-02-14  3:13 UTC (permalink / raw)


David Kastrup <dak@gnu.org> wrote:

> Steve Petersen <spetey@umich.edu> writes:
> 
> > Oh, except the colors are kinda ugly!  But I expect that can be fixed
> > later, *after* the paper is written.
> 
> I agree, but have not found out how to fix them, yet.  And I am the
> maintainer of AUCTeX...  Shows you the incompetence that some projects
> have to suffer under.

Okay, okay.  To each his own.  I happen to like 'em.

Customize them!

M-x customize-face [RET] font-latex-[TAB]

Or do it the old way, like I wrote in the font-latex.el file itself:

;; Changing colours
;;
;;  Okay, so you hate the colours I picked.  How do you change them you ask?
;;  First, find the font name to change using the command:
;;    M-x list-text-properties-at
;;  Then, suppose you got `font-latex-math-face', edit ~/.Xdefaults and add:
;;    Emacs.font-latex-math-face.attributeForeground: blue
;;  without the semi-colon I'm using here ascomment delimiters, of course.

Peter

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

* Re: syntax highlighting / font lock for latex in emacs 21
       [not found]     ` <mailman.1963.1045192437.21513.help-gnu-emacs@gnu.org>
@ 2003-02-14  3:50       ` Steve Petersen
  2003-02-17 12:44         ` Kester Clegg
  0 siblings, 1 reply; 17+ messages in thread
From: Steve Petersen @ 2003-02-14  3:50 UTC (permalink / raw)


I'm sorry... I didn't mean to be the whiny ingrate!  Actually I'm the 
whiny but extremely grateful guy.  Thank you both for all the great, 
*free* work that has contributed so much to my getting through grad 
school still sane (so far).

Steve

Peter S Galbraith wrote:
> David Kastrup <dak@gnu.org> wrote:
> 
> 
>>Steve Petersen <spetey@umich.edu> writes:
>>
>>
>>>Oh, except the colors are kinda ugly!  But I expect that can be fixed
>>>later, *after* the paper is written.
>>
>>I agree, but have not found out how to fix them, yet.  And I am the
>>maintainer of AUCTeX...  Shows you the incompetence that some projects
>>have to suffer under.
> 
> 
> Okay, okay.  To each his own.  I happen to like 'em.
> 
> Customize them!
> 
> M-x customize-face [RET] font-latex-[TAB]
> 
> Or do it the old way, like I wrote in the font-latex.el file itself:
> 
> ;; Changing colours
> ;;
> ;;  Okay, so you hate the colours I picked.  How do you change them you ask?
> ;;  First, find the font name to change using the command:
> ;;    M-x list-text-properties-at
> ;;  Then, suppose you got `font-latex-math-face', edit ~/.Xdefaults and add:
> ;;    Emacs.font-latex-math-face.attributeForeground: blue
> ;;  without the semi-colon I'm using here ascomment delimiters, of course.
> 
> Peter
> 
> 

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

* Re: syntax highlighting / font lock for latex in emacs 21
  2003-02-14  3:50       ` Steve Petersen
@ 2003-02-17 12:44         ` Kester Clegg
  0 siblings, 0 replies; 17+ messages in thread
From: Kester Clegg @ 2003-02-17 12:44 UTC (permalink / raw)


Steve Petersen <spetey@umich.edu> writes:

> > Customize them!
> > M-x customize-face [RET] font-latex-[TAB]

Or do the whole lot for all faces in one session:

M-x list-faces-display

-- 
************************************************************************
Kester Clegg				Dept. of Computer Science,
Research Assistant (UTC)		University of York, 
Tel (01904) 43 27 49			email: kester at cs.york.ac.uk
************************************************************************

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

* A question about GTK file selection dialog and `use-dialog-box'
@ 2003-11-27  3:49 Peter S Galbraith
  2003-11-27 12:38 ` David Kastrup
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Peter S Galbraith @ 2003-11-27  3:49 UTC (permalink / raw)


Hi all,

Using a GTK build of CVS Emacs, I see that `read-file-name' uses a GTK
file selector instead of the minbuffer.  I had to disable it because
it's very awkward to use compared to the minibuffer (no history or
completion).  The only advertised way to disable it is to unset
`use-dialog-box', which also disables the nice `y-or-n-p' and
`yes-or-no-p' pop-ups (I like thoese!).

It would be great if the GTK file selector's minibuffer area acted like
the minibuffer (history and completion).  If not, then consider
providing a way to disable the file selector without disabling
`y-or-n-p' and `yes-or-no-p' pop-ups.

Thanks,
Peter

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

* Re: A question about GTK file selection dialog and `use-dialog-box'
  2003-11-27  3:49 A question about GTK file selection dialog and `use-dialog-box' Peter S Galbraith
@ 2003-11-27 12:38 ` David Kastrup
  2003-11-27 14:35   ` Stefan Monnier
  2003-11-27 16:17 ` Danilo Segan
  2003-11-29 11:15 ` Jan D.
  2 siblings, 1 reply; 17+ messages in thread
From: David Kastrup @ 2003-11-27 12:38 UTC (permalink / raw)
  Cc: emacs-devel

Peter S Galbraith <p.galbraith@globetrotter.net> writes:

> Using a GTK build of CVS Emacs, I see that `read-file-name' uses a
> GTK file selector instead of the minbuffer.  I had to disable it
> because it's very awkward to use compared to the minibuffer (no
> history or completion).  The only advertised way to disable it is to
> unset `use-dialog-box', which also disables the nice `y-or-n-p' and
> `yes-or-no-p' pop-ups (I like thoese!).
> 
> It would be great if the GTK file selector's minibuffer area acted like
> the minibuffer (history and completion).  If not, then consider
> providing a way to disable the file selector without disabling
> `y-or-n-p' and `yes-or-no-p' pop-ups.

It only uses the GTK file selector if the triggering event is a mouse
event.  So if you are using the keyboard, you won't get to see a GTK
file selector.

Unless, say, you are hitting upon a bug of AUCTeX that can trigger
calling read-file-name from update-menu-hook or so (which apparently
does not count as a keyboard event in that context).  The solution, of
course, is to fix that by delaying the guilty functions until the
LaTeX menu or respective keyboard functions actually get called.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

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

* Re: A question about GTK file selection dialog and `use-dialog-box'
  2003-11-27 12:38 ` David Kastrup
@ 2003-11-27 14:35   ` Stefan Monnier
  0 siblings, 0 replies; 17+ messages in thread
From: Stefan Monnier @ 2003-11-27 14:35 UTC (permalink / raw)
  Cc: Peter S Galbraith, emacs-devel

> Unless, say, you are hitting upon a bug of AUCTeX that can trigger
> calling read-file-name from update-menu-hook or so (which apparently
> does not count as a keyboard event in that context).

I believe the behavior depends on the last actual event (although the event
may be totally unrelated to the execution of the update-menu-hook).


        Stefan

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

* Re: A question about GTK file selection dialog and `use-dialog-box'
  2003-11-27  3:49 A question about GTK file selection dialog and `use-dialog-box' Peter S Galbraith
  2003-11-27 12:38 ` David Kastrup
@ 2003-11-27 16:17 ` Danilo Segan
       [not found]   ` <dsegan@gmx.net>
  2003-11-29 11:15 ` Jan D.
  2 siblings, 1 reply; 17+ messages in thread
From: Danilo Segan @ 2003-11-27 16:17 UTC (permalink / raw)
  Cc: emacs-devel

Peter S Galbraith <p.galbraith@globetrotter.net> написа:
>
> It would be great if the GTK file selector's minibuffer area acted like
> the minibuffer (history and completion).  If not, then consider
> providing a way to disable the file selector without disabling
> `y-or-n-p' and `yes-or-no-p' pop-ups.
>

Uhm, GTK file selector provides TAB completion since the beginning of
time (or at least for four years).

You just type the few starting letters and press TAB: if it completes
to a directory name, it will enter it (then use "..[TAB]" to go one
level back if you need it), and if it completes to several file
names, it will filter them in the right side of the dialog.

Perhaps you're using some modified file selector dialog, instead of
the original one (Ximian and others have modified it in their
distributions).

Cheers,
Danilo

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

* Re: A question about GTK file selection dialog and `use-dialog-box'
       [not found]     ` <dak@gnu.org>
  2003-02-14  3:13       ` Peter S Galbraith
@ 2003-11-28  1:42       ` Peter S Galbraith
  1 sibling, 0 replies; 17+ messages in thread
From: Peter S Galbraith @ 2003-11-28  1:42 UTC (permalink / raw)


David Kastrup <dak@gnu.org> wrote:

> Peter S Galbraith <p.galbraith@globetrotter.net> writes:
> 
> > Using a GTK build of CVS Emacs, I see that `read-file-name' uses a
> > GTK file selector instead of the minbuffer.  I had to disable it
> > because it's very awkward to use compared to the minibuffer (no
> > history or completion).  The only advertised way to disable it is to
> > unset `use-dialog-box', which also disables the nice `y-or-n-p' and
> > `yes-or-no-p' pop-ups (I like thoese!).
> > 
> > It would be great if the GTK file selector's minibuffer area acted like
> > the minibuffer (history and completion).  If not, then consider
> > providing a way to disable the file selector without disabling
> > `y-or-n-p' and `yes-or-no-p' pop-ups.
> 
> It only uses the GTK file selector if the triggering event is a mouse
> event.  So if you are using the keyboard, you won't get to see a GTK
> file selector.

I know, but the GTK file selector doesn't have the required features to
replace the trusty minibuffer for me.

> Unless, say, you are hitting upon a bug of AUCTeX

No, this is when I hit the `compose MIME insertion' toolbar buttom in
MH-E.   Hmmm, maybe I can (optionally) locally-bind `use-dialog-box'
within that MH-E command...

Thanks for replying,
Peter

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

* Re: A question about GTK file selection dialog and `use-dialog-box'
       [not found]   ` <dsegan@gmx.net>
@ 2003-11-28  1:56     ` Peter S Galbraith
  2003-11-28  2:34       ` Danilo Segan
  2003-11-28  2:45     ` Peter S Galbraith
  1 sibling, 1 reply; 17+ messages in thread
From: Peter S Galbraith @ 2003-11-28  1:56 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

Danilo Segan <dsegan@gmx.net> wrote:

> Peter S Galbraith <p.galbraith@globetrotter.net> написа:
> >
> > It would be great if the GTK file selector's minibuffer area acted like
> > the minibuffer (history and completion).  If not, then consider
> > providing a way to disable the file selector without disabling
> > `y-or-n-p' and `yes-or-no-p' pop-ups.
> >
> 
> Uhm, GTK file selector provides TAB completion since the beginning of
> time (or at least for four years).

Oh.  Something must be wrong here then.  I'm using a CVS snapshot from
a few weeks ago, and I can't even click in the file dialog box to type
something in.  I can only navigate the directory tree using the mouse.

Having completion is good, thanks.  Can history be used as well?

Thanks,
Peter

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

* Re: A question about GTK file selection dialog and `use-dialog-box'
  2003-11-28  1:56     ` Peter S Galbraith
@ 2003-11-28  2:34       ` Danilo Segan
  0 siblings, 0 replies; 17+ messages in thread
From: Danilo Segan @ 2003-11-28  2:34 UTC (permalink / raw)
  Cc: emacs-devel

Peter S Galbraith <p.galbraith@globetrotter.net> writes:
>
> Oh.  Something must be wrong here then.  I'm using a CVS snapshot from
> a few weeks ago, and I can't even click in the file dialog box to type
> something in.  I can only navigate the directory tree using the mouse.

If you mean Gtk+ from CVS, then latest releases contain different file
selector which is still in development, so you might want to
downgrade to 2.2.4 until that's sorted out.

> Having completion is good, thanks.  Can history be used as well?

No, I don't know of any history mechanism, but I may have missed
something.

Cheers,
Danilo

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

* Re: A question about GTK file selection dialog and `use-dialog-box'
       [not found]   ` <dsegan@gmx.net>
  2003-11-28  1:56     ` Peter S Galbraith
@ 2003-11-28  2:45     ` Peter S Galbraith
  1 sibling, 0 replies; 17+ messages in thread
From: Peter S Galbraith @ 2003-11-28  2:45 UTC (permalink / raw)


Danilo Segan <dsegan@gmx.net> wrote:

> Peter S Galbraith <p.galbraith@globetrotter.net> writes:
> >
> > Oh.  Something must be wrong here then.  I'm using a CVS snapshot from
> > a few weeks ago, and I can't even click in the file dialog box to type
> > something in.  I can only navigate the directory tree using the mouse.
> 
> If you mean Gtk+ from CVS, then latest releases contain different file
> selector which is still in development, so you might want to
> downgrade to 2.2.4 until that's sorted out.

No, I meant Emacs from CVS.
 
> > Having completion is good, thanks.  Can history be used as well?
> 
> No, I don't know of any history mechanism, but I may have missed
> something.

Too bad.  That would be nice!  :-)

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

* Re: A question about GTK file selection dialog and `use-dialog-box'
  2003-11-27  3:49 A question about GTK file selection dialog and `use-dialog-box' Peter S Galbraith
  2003-11-27 12:38 ` David Kastrup
  2003-11-27 16:17 ` Danilo Segan
@ 2003-11-29 11:15 ` Jan D.
       [not found]   ` <jan.h.d@swipnet.se>
  2 siblings, 1 reply; 17+ messages in thread
From: Jan D. @ 2003-11-29 11:15 UTC (permalink / raw)
  Cc: emacs-devel

> 
> It would be great if the GTK file selector's minibuffer area acted like
> the minibuffer (history and completion).  If not, then consider
> providing a way to disable the file selector without disabling
> `y-or-n-p' and `yes-or-no-p' pop-ups.

I've added a variable use-file-dialog that you can customize.

	Jan D.

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

* Re: A question about GTK file selection dialog and `use-dialog-box'
       [not found]   ` <jan.h.d@swipnet.se>
@ 2003-11-29 18:41     ` Peter S Galbraith
  0 siblings, 0 replies; 17+ messages in thread
From: Peter S Galbraith @ 2003-11-29 18:41 UTC (permalink / raw)
  Cc: emacs-devel

Jan D. <jan.h.d@swipnet.se> wrote:

> > 
> > It would be great if the GTK file selector's minibuffer area acted like
> > the minibuffer (history and completion).  If not, then consider
> > providing a way to disable the file selector without disabling
> > `y-or-n-p' and `yes-or-no-p' pop-ups.
> 
> I've added a variable use-file-dialog that you can customize.
> 
> 	Jan D.

Thanks!  I'm glad I brought it up!
:-)

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

end of thread, other threads:[~2003-11-29 18:41 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-27  3:49 A question about GTK file selection dialog and `use-dialog-box' Peter S Galbraith
2003-11-27 12:38 ` David Kastrup
2003-11-27 14:35   ` Stefan Monnier
2003-11-27 16:17 ` Danilo Segan
     [not found]   ` <dsegan@gmx.net>
2003-11-28  1:56     ` Peter S Galbraith
2003-11-28  2:34       ` Danilo Segan
2003-11-28  2:45     ` Peter S Galbraith
2003-11-29 11:15 ` Jan D.
     [not found]   ` <jan.h.d@swipnet.se>
2003-11-29 18:41     ` Peter S Galbraith
  -- strict thread matches above, loose matches on Subject: below --
2003-02-13 21:28 syntax highlighting / font lock for latex in emacs 21 Steve Petersen
2003-02-13 22:02 ` Steve Petersen
2003-02-13 22:54   ` David Kastrup
     [not found]     ` <mailman.1963.1045192437.21513.help-gnu-emacs@gnu.org>
2003-02-14  3:50       ` Steve Petersen
2003-02-17 12:44         ` Kester Clegg
     [not found]     ` <dak@gnu.org>
2003-02-14  3:13       ` Peter S Galbraith
2003-11-28  1:42       ` A question about GTK file selection dialog and `use-dialog-box' Peter S Galbraith
2003-02-13 22:09 ` syntax highlighting / font lock for latex in emacs 21 David Kastrup

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.