* file extensions for Openoffice
@ 2002-07-05 10:20 Francesco Potorti`
2002-07-05 15:39 ` file extensions for gettext/msgfmt Karl Eichwalder
` (2 more replies)
0 siblings, 3 replies; 15+ messages in thread
From: Francesco Potorti` @ 2002-07-05 10:20 UTC (permalink / raw)
In the following places:
lisp/dos-w32.el:51: ("\\.\\(arc\\|zip\\|pak\\|lzh\\|zoo\\)$" . t)
lisp/files.el:1434: ("\\.\\(arc\\|zip\\|lzh\\|zoo\\|jar\\)\\'" . archive-mode)
lisp/gnus/gnus-uu.el:74: ("\\.\\(tar\\|arj\\|zip\\|zoo\\|arc\\|gz\\|Z\\|lzh\\|ar\\|lha\\)$"
lisp/international/mule.el:1286: '(("\\.\\(arc\\|zip\\|lzh\\|zoo\\|jar\\|tar\\|tgz\\)\\'" . no-conversion)
the extension .sxi should be added. It indicates a slide presentation
in Openoffice format, which is the same as a jar format, as far as I can
see. If anyone knows other Openoffice extensions, they could be added
as well.
^ permalink raw reply [flat|nested] 15+ messages in thread
* file extensions for gettext/msgfmt
2002-07-05 10:20 file extensions for Openoffice Francesco Potorti`
@ 2002-07-05 15:39 ` Karl Eichwalder
2002-07-07 4:50 ` Eli Zaretskii
2002-07-05 21:04 ` file extensions for Openoffice Pavel Janík
2002-07-05 22:04 ` Richard Stallman
2 siblings, 1 reply; 15+ messages in thread
From: Karl Eichwalder @ 2002-07-05 15:39 UTC (permalink / raw)
Francesco Potorti` <pot@gnu.org> writes:
> If anyone knows other Openoffice extensions, they could be added
> as well.
Not me, but this is good for gettext/msgfmt:
2002-07-05 Karl Eichwalder <ke@suse.de>
* bindings.el (completion-ignored-extensions): Add ".gmo" and
".mo" generated by `msgfmt' (GNU Gettext).
*** bindings.el.~1.100.~ Wed Apr 17 00:21:50 2002
--- bindings.el Fri Jul 5 17:35:34 2002
***************
*** 443,449 ****
;; Texinfo-related
".toc" ".log" ".aux"
".cp" ".fn" ".ky" ".pg" ".tp" ".vr"
! ".cps" ".fns" ".kys" ".pgs" ".tps" ".vrs")))
;; Suffixes used for executables.
(setq exec-suffixes
--- 443,451 ----
;; Texinfo-related
".toc" ".log" ".aux"
".cp" ".fn" ".ky" ".pg" ".tp" ".vr"
! ".cps" ".fns" ".kys" ".pgs" ".tps" ".vrs"
! ;; Gettext (msgfmt)
! ".gmo" ".mo")))
;; Suffixes used for executables.
(setq exec-suffixes
--
ke@suse.de (work) / keichwa@gmx.net (home): |
http://www.suse.de/~ke/ | ,__o
Free Translation Project: | _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*)
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: file extensions for gettext/msgfmt
2002-07-05 15:39 ` file extensions for gettext/msgfmt Karl Eichwalder
@ 2002-07-07 4:50 ` Eli Zaretskii
2002-07-07 6:38 ` Karl Eichwalder
2002-07-08 13:09 ` Stefan Monnier
0 siblings, 2 replies; 15+ messages in thread
From: Eli Zaretskii @ 2002-07-07 4:50 UTC (permalink / raw)
Cc: Emacs developers
On Fri, 5 Jul 2002, Karl Eichwalder wrote:
> * bindings.el (completion-ignored-extensions): Add ".gmo" and
> ".mo" generated by `msgfmt' (GNU Gettext).
Is that really a good idea? You are supposed to add extensions to that
list if no one in their right mind would ever want to do anything at all
with a file with such an extension. Files produced by msgfmt are not
junk, they can be copied, renamed, and even edited if necessary.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: file extensions for gettext/msgfmt
2002-07-07 4:50 ` Eli Zaretskii
@ 2002-07-07 6:38 ` Karl Eichwalder
2002-07-07 8:09 ` Eli Zaretskii
2002-07-08 13:09 ` Stefan Monnier
1 sibling, 1 reply; 15+ messages in thread
From: Karl Eichwalder @ 2002-07-07 6:38 UTC (permalink / raw)
Cc: Emacs developers
Eli Zaretskii <eliz@is.elta.co.il> writes:
> Files produced by msgfmt are not junk, they can be copied, renamed,
> and even edited if necessary.
These files are binary files. You don't want to edit them; when I view
a directory with po files using dired, I don't want to see the .mo
files.
We should make sure to find a way to add .gmo/.mo files to
`dired-omit-extensions', even if we don't want to add them to
`completion-ignored-extensions'.
Concerning copying and renaming: That's valid for other files, too
(.dvi, .pdf, .log, .aux, .elc).
--
ke@suse.de (work) / keichwa@gmx.net (home): |
http://www.suse.de/~ke/ | ,__o
Free Translation Project: | _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*)
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: file extensions for gettext/msgfmt
2002-07-07 6:38 ` Karl Eichwalder
@ 2002-07-07 8:09 ` Eli Zaretskii
2002-07-08 8:52 ` Andreas Schwab
` (2 more replies)
0 siblings, 3 replies; 15+ messages in thread
From: Eli Zaretskii @ 2002-07-07 8:09 UTC (permalink / raw)
Cc: Emacs developers
On Sun, 7 Jul 2002, Karl Eichwalder wrote:
> > Files produced by msgfmt are not junk, they can be copied, renamed,
> > and even edited if necessary.
>
> These files are binary files.
IMHO, being binary files is not a reason good enough to be added to that
list.
> You don't want to edit them
That's for the user to decide; there's "M-x hexl-find-file".
> when I view
> a directory with po files using dired, I don't want to see the .mo
> files.
Then you can add them as your local customizations.
> Concerning copying and renaming: That's valid for other files, too
> (.dvi, .pdf, .log, .aux, .elc).
No.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: file extensions for gettext/msgfmt
2002-07-07 8:09 ` Eli Zaretskii
@ 2002-07-08 8:52 ` Andreas Schwab
2002-07-08 14:44 ` Karl Eichwalder
2002-07-08 9:10 ` Miles Bader
2002-07-08 18:20 ` Richard Stallman
2 siblings, 1 reply; 15+ messages in thread
From: Andreas Schwab @ 2002-07-08 8:52 UTC (permalink / raw)
Cc: Karl Eichwalder, Emacs developers
Eli Zaretskii <eliz@is.elta.co.il> writes:
|> On Sun, 7 Jul 2002, Karl Eichwalder wrote:
|>
|> > > Files produced by msgfmt are not junk, they can be copied, renamed,
|> > > and even edited if necessary.
|> >
|> > These files are binary files.
|>
|> IMHO, being binary files is not a reason good enough to be added to that
|> list.
|>
|> > You don't want to edit them
|>
|> That's for the user to decide; there's "M-x hexl-find-file".
Then why is ".o" part of the standard value of
completion-ignored-extensions?
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: file extensions for gettext/msgfmt
2002-07-07 8:09 ` Eli Zaretskii
2002-07-08 8:52 ` Andreas Schwab
@ 2002-07-08 9:10 ` Miles Bader
2002-07-09 1:43 ` Richard Stallman
2002-07-08 18:20 ` Richard Stallman
2 siblings, 1 reply; 15+ messages in thread
From: Miles Bader @ 2002-07-08 9:10 UTC (permalink / raw)
Cc: Karl Eichwalder, Emacs developers
Eli Zaretskii <eliz@is.elta.co.il> writes:
> > These files are binary files.
>
> IMHO, being binary files is not a reason good enough to be added to that
> list.
It's sometimes desirable to edit binary files, but it's certainly
annoying to have them interfere with completion. I think it's a
judgement call that should be made by someone experienced with that sort
of file (who that is, I don't know).
> > You don't want to edit them
>
> That's for the user to decide; there's "M-x hexl-find-file".
But emacs ought to provide good defaults.
`hexl-find-file' is a special case, and probably ought to override
completion-ignored-extensions if it can, because it's typically used for
editing files you normally don't want to edit.
-Miles
--
Yo mama's so fat when she gets on an elevator it HAS to go down.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: file extensions for gettext/msgfmt
2002-07-07 8:09 ` Eli Zaretskii
2002-07-08 8:52 ` Andreas Schwab
2002-07-08 9:10 ` Miles Bader
@ 2002-07-08 18:20 ` Richard Stallman
2 siblings, 0 replies; 15+ messages in thread
From: Richard Stallman @ 2002-07-08 18:20 UTC (permalink / raw)
Cc: keichwa, emacs-devel
IMHO, being binary files is not a reason good enough to be added to that
list.
That is precisely the reason most of them are in the list--because
Most of the time, people don't want to edit binary files. This is a
convenience feature to help you get the source file and just the
source file.
When you want to edit the binary file, that is not hard. You just
type the last part of the name by hand.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: file extensions for gettext/msgfmt
2002-07-07 4:50 ` Eli Zaretskii
2002-07-07 6:38 ` Karl Eichwalder
@ 2002-07-08 13:09 ` Stefan Monnier
1 sibling, 0 replies; 15+ messages in thread
From: Stefan Monnier @ 2002-07-08 13:09 UTC (permalink / raw)
Cc: Karl Eichwalder, Emacs developers
> > * bindings.el (completion-ignored-extensions): Add ".gmo" and
> > ".mo" generated by `msgfmt' (GNU Gettext).
> Is that really a good idea?
I think so.
> You are supposed to add extensions to that
> list if no one in their right mind would ever want to do anything at all
> with a file with such an extension.
That's not my understanding. This list only indicates extensions of
files that are usually not edited and only instructs Emacs' completion
mechanism to prefer other file names when you hit TAB.
Basically, it just changes `try-completion' on files to do
(or (try-completion <file> <files> 'not-in-completion-ignored-extensions)
(try-completion <file> <files>))
> Files produced by msgfmt are not
> junk, they can be copied, renamed, and even edited if necessary.
Sure, I don't see the relevance of this remark.
Maybe `completion-ignored-extensions' should simply not always be used
(as someone remarked it should probably be ignored for `hexl-find-file').
Stefan
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: file extensions for Openoffice
2002-07-05 10:20 file extensions for Openoffice Francesco Potorti`
2002-07-05 15:39 ` file extensions for gettext/msgfmt Karl Eichwalder
@ 2002-07-05 21:04 ` Pavel Janík
2002-07-05 22:04 ` Richard Stallman
2 siblings, 0 replies; 15+ messages in thread
From: Pavel Janík @ 2002-07-05 21:04 UTC (permalink / raw)
Cc: Emacs developers
From: Francesco Potorti` <pot@gnu.org>
Date: Fri, 05 Jul 2002 12:20:08 +0200
> If anyone knows other Openoffice extensions, they could be added
> as well.
Here they are:
Draw.sxd
Formula.sxm
Presentation.sxi
Spreadsheet.sxc
Text document.sxw
--
Pavel Janík
Have you considered defenestrating your computer and replacing Windows with
GNU/Linux? It is a shame for you to be in bondage to Microsoft.
-- Richard Stallman <rms@gnu.org> in emacs-devel
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: file extensions for Openoffice
2002-07-05 10:20 file extensions for Openoffice Francesco Potorti`
2002-07-05 15:39 ` file extensions for gettext/msgfmt Karl Eichwalder
2002-07-05 21:04 ` file extensions for Openoffice Pavel Janík
@ 2002-07-05 22:04 ` Richard Stallman
2002-07-07 18:31 ` Francesco Potorti`
2 siblings, 1 reply; 15+ messages in thread
From: Richard Stallman @ 2002-07-05 22:04 UTC (permalink / raw)
Cc: emacs-devel
the extension .sxi should be added.
Could you please do that?
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2002-07-09 6:01 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-05 10:20 file extensions for Openoffice Francesco Potorti`
2002-07-05 15:39 ` file extensions for gettext/msgfmt Karl Eichwalder
2002-07-07 4:50 ` Eli Zaretskii
2002-07-07 6:38 ` Karl Eichwalder
2002-07-07 8:09 ` Eli Zaretskii
2002-07-08 8:52 ` Andreas Schwab
2002-07-08 14:44 ` Karl Eichwalder
2002-07-08 9:10 ` Miles Bader
2002-07-09 1:43 ` Richard Stallman
2002-07-09 6:01 ` Miles Bader
2002-07-08 18:20 ` Richard Stallman
2002-07-08 13:09 ` Stefan Monnier
2002-07-05 21:04 ` file extensions for Openoffice Pavel Janík
2002-07-05 22:04 ` Richard Stallman
2002-07-07 18:31 ` Francesco Potorti`
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.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).