* dev-tsdh-* themes
@ 2011-01-07 9:46 Eli Zaretskii
2011-01-07 10:35 ` Tassilo Horn
0 siblings, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2011-01-07 9:46 UTC (permalink / raw)
To: Tassilo Horn; +Cc: emacs-devel
This revision on the trunk:
revno: 102768
committer: Tassilo Horn <tassilo@member.fsf.org>
branch nick: trunk
timestamp: Thu 2011-01-06 08:35:47 +0100
message:
* themes/dev-tsdh-light-theme.el (dev-tsdh-light): New theme.
* themes/dev-tsdh-dark-theme.el (dev-tsdh-dark): New theme.
added:
etc/themes/dev-tsdh-dark-theme.el
etc/themes/dev-tsdh-light-theme.el
modified:
etc/ChangeLog
introduced 2 files whose names clash on 8+3 filesystems. Can they be
renamed by dropping the "dev-" prefix, i.e. to tsdh-dark-theme.el and
tsdh-light-theme.el, respectively? That would resolve the issue, and
the "dev-" prefix doesn't seem to be of any importance, I think.
TIA
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-07 9:46 dev-tsdh-* themes Eli Zaretskii
@ 2011-01-07 10:35 ` Tassilo Horn
2011-01-07 10:51 ` Eli Zaretskii
2011-01-08 17:59 ` Chong Yidong
0 siblings, 2 replies; 17+ messages in thread
From: Tassilo Horn @ 2011-01-07 10:35 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
Eli Zaretskii <eliz@gnu.org> writes:
Hi Eli,
> revno: 102768
> committer: Tassilo Horn <tassilo@member.fsf.org>
> branch nick: trunk
> timestamp: Thu 2011-01-06 08:35:47 +0100
> message:
> * themes/dev-tsdh-light-theme.el (dev-tsdh-light): New theme.
> * themes/dev-tsdh-dark-theme.el (dev-tsdh-dark): New theme.
> added:
> etc/themes/dev-tsdh-dark-theme.el
> etc/themes/dev-tsdh-light-theme.el
> modified:
> etc/ChangeLog
>
> introduced 2 files whose names clash on 8+3 filesystems. Can they be
> renamed by dropping the "dev-" prefix, i.e. to tsdh-dark-theme.el and
> tsdh-light-theme.el, respectively?
The idea was to ship some themes by emacs contributors, so I suggested
to prefix them with "dev-". However, the theme names don't need to
match the file names, so I'm going to rename them as you suggested.
Thanks,
Tassilo
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-07 10:35 ` Tassilo Horn
@ 2011-01-07 10:51 ` Eli Zaretskii
2011-01-08 2:48 ` Glenn Morris
2011-01-08 17:59 ` Chong Yidong
1 sibling, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2011-01-07 10:51 UTC (permalink / raw)
To: Tassilo Horn; +Cc: emacs-devel
> From: Tassilo Horn <tassilo@member.fsf.org>
> Cc: emacs-devel@gnu.org
> Date: Fri, 07 Jan 2011 11:35:11 +0100
>
> The idea was to ship some themes by emacs contributors, so I suggested
> to prefix them with "dev-". However, the theme names don't need to
> match the file names, so I'm going to rename them as you suggested.
Thank you.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-07 10:51 ` Eli Zaretskii
@ 2011-01-08 2:48 ` Glenn Morris
2011-01-08 2:50 ` Glenn Morris
2011-01-08 17:53 ` Chong Yidong
0 siblings, 2 replies; 17+ messages in thread
From: Glenn Morris @ 2011-01-08 2:48 UTC (permalink / raw)
To: emacs-devel
Why do all the names have a "-theme" suffix? They are in a theme/
directory, isn't that enough?
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-08 2:48 ` Glenn Morris
@ 2011-01-08 2:50 ` Glenn Morris
2011-01-08 9:25 ` Chad Brown
2011-01-08 9:38 ` Eli Zaretskii
2011-01-08 17:53 ` Chong Yidong
1 sibling, 2 replies; 17+ messages in thread
From: Glenn Morris @ 2011-01-08 2:50 UTC (permalink / raw)
To: emacs-devel
Glenn Morris wrote:
> Why do all the names have a "-theme" suffix? They are in a theme/
> directory, isn't that enough?
Similarly, why does everything in test/ have a -testsuite suffix?
(ans: because the first file there, icalendar-testsuite.el, did)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-08 2:50 ` Glenn Morris
@ 2011-01-08 9:25 ` Chad Brown
2011-01-08 9:44 ` Eli Zaretskii
2011-01-08 12:33 ` Dimitri Fontaine
2011-01-08 9:38 ` Eli Zaretskii
1 sibling, 2 replies; 17+ messages in thread
From: Chad Brown @ 2011-01-08 9:25 UTC (permalink / raw)
To: Glenn Morris; +Cc: emacs-devel
On Jan 7, 2011, at 6:50 PM, Glenn Morris wrote:
> Why do all the names have a "-theme" suffix? They are in a theme/
> directory, isn't that enough?
The default emacs mode line indicator (the primary identifier, IMHO) does a poor job of indicating the differences between cases like these. Start emacs -q and load up a theoretical `lisp/project.el' and it's test suite `test/project.el' -- it can be difficult to tell them apart.
I've long since adopted a different mode line format to address this problem, and list-/ibuffers addresses this somewhat, but there are still places (such as switch-to-buffer) where it crops up often enough that I'm totally unsurprised to see the information added to the file name.
Hope that helps,
*Chad
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-08 2:50 ` Glenn Morris
2011-01-08 9:25 ` Chad Brown
@ 2011-01-08 9:38 ` Eli Zaretskii
2011-01-08 10:10 ` Philipp Haselwarter
2011-01-08 15:37 ` Drew Adams
1 sibling, 2 replies; 17+ messages in thread
From: Eli Zaretskii @ 2011-01-08 9:38 UTC (permalink / raw)
To: Glenn Morris; +Cc: emacs-devel
> From: Glenn Morris <rgm@gnu.org>
> Date: Fri, 07 Jan 2011 21:50:48 -0500
>
> Glenn Morris wrote:
>
> > Why do all the names have a "-theme" suffix? They are in a theme/
> > directory, isn't that enough?
>
> Similarly, why does everything in test/ have a -testsuite suffix?
Indeed, I see no reason for this waste of real estate.
> (ans: because the first file there, icalendar-testsuite.el, did)
Probably.
Btw, if we are talking about reorganizing file names in etc/themes,
then Tassilo's problem with the dev- prefix could also be solved by
having an etc/themes/contrib/ subdirectory, which is what most
packages do these days for files contributed by people other than the
immediate maintainers.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-08 9:25 ` Chad Brown
@ 2011-01-08 9:44 ` Eli Zaretskii
2011-01-08 12:33 ` Dimitri Fontaine
1 sibling, 0 replies; 17+ messages in thread
From: Eli Zaretskii @ 2011-01-08 9:44 UTC (permalink / raw)
To: Chad Brown; +Cc: emacs-devel
> From: Chad Brown <yandros@MIT.EDU>
> Date: Sat, 8 Jan 2011 01:25:52 -0800
> Cc: emacs-devel@gnu.org
>
>
> On Jan 7, 2011, at 6:50 PM, Glenn Morris wrote:
>
> > Why do all the names have a "-theme" suffix? They are in a theme/
> > directory, isn't that enough?
>
> The default emacs mode line indicator (the primary identifier, IMHO) does a poor job of indicating the differences between cases like these. Start emacs -q and load up a theoretical `lisp/project.el' and it's test suite `test/project.el' -- it can be difficult to tell them apart.
There's any number of ways to solve this, for people who are annoyed
by this issue, see uniquify-buffer-name-style. I'm sure you know
that.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-08 9:38 ` Eli Zaretskii
@ 2011-01-08 10:10 ` Philipp Haselwarter
2011-01-08 12:05 ` Eli Zaretskii
2011-01-08 15:37 ` Drew Adams
1 sibling, 1 reply; 17+ messages in thread
From: Philipp Haselwarter @ 2011-01-08 10:10 UTC (permalink / raw)
To: emacs-devel
Just wondering, why are the themes in etc/ instead of lisp/ ?
I didn't even know they're there until I saw this thread.
--
Philipp Haselwarter
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-08 10:10 ` Philipp Haselwarter
@ 2011-01-08 12:05 ` Eli Zaretskii
0 siblings, 0 replies; 17+ messages in thread
From: Eli Zaretskii @ 2011-01-08 12:05 UTC (permalink / raw)
To: Philipp Haselwarter; +Cc: emacs-devel
> From: Philipp Haselwarter <philipp.haselwarter@gmx.de>
> Date: Sat, 08 Jan 2011 11:10:52 +0100
> Tomato: Beige
>
> Just wondering, why are the themes in etc/ instead of lisp/ ?
> I didn't even know they're there until I saw this thread.
Whenever you update from the repository, check out the latest changes
in etc/NEWS, and you will see this, for example:
** Custom Themes
*** `M-x customize-themes' lists Custom themes which can be enabled.
*** New option `custom-theme-load-path' is the load path for themes.
Emacs no longer looks for custom themes in `load-path'. The default
is to search in `custom-theme-directory', followed by a built-in theme
directory named "themes/" in `data-directory'.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-08 9:25 ` Chad Brown
2011-01-08 9:44 ` Eli Zaretskii
@ 2011-01-08 12:33 ` Dimitri Fontaine
1 sibling, 0 replies; 17+ messages in thread
From: Dimitri Fontaine @ 2011-01-08 12:33 UTC (permalink / raw)
To: Chad Brown; +Cc: emacs-devel
Chad Brown <yandros@MIT.EDU> writes:
> I've long since adopted a different mode line format to address this
> problem, and list-/ibuffers addresses this somewhat, but there are
> still places (such as switch-to-buffer) where it crops up often enough
> that I'm totally unsurprised to see the information added to the file
> name.
I'm using projects.el from emacs-goodies-el for that, and all it's
missing would be a more automated way to define the project name of a
subtree.
https://alioth.debian.org/scm/viewvc.php/emacs-goodies-el/elisp/emacs-goodies-el/projects.el?view=markup&revision=1.2&root=pkg-goodies-el
Regards,
--
dim
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: dev-tsdh-* themes
2011-01-08 9:38 ` Eli Zaretskii
2011-01-08 10:10 ` Philipp Haselwarter
@ 2011-01-08 15:37 ` Drew Adams
2011-01-08 16:10 ` Andreas Schwab
1 sibling, 1 reply; 17+ messages in thread
From: Drew Adams @ 2011-01-08 15:37 UTC (permalink / raw)
To: 'Eli Zaretskii', 'Glenn Morris'; +Cc: emacs-devel
> could also be solved by having an etc/themes/contrib/ subdirectory,
> which is what most packages do these days for files contributed by
^^^^^^^^^^
> people other than the immediate maintainers.
So did Emacs itself have a `contrib' subdir, decades ago, for Lisp files
distributed but not maintained by Officialdom. I don't recall whether that was
GNU Emacs, XEmacs, Epoch,... or some subset of these.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-08 15:37 ` Drew Adams
@ 2011-01-08 16:10 ` Andreas Schwab
2011-01-08 17:33 ` Drew Adams
0 siblings, 1 reply; 17+ messages in thread
From: Andreas Schwab @ 2011-01-08 16:10 UTC (permalink / raw)
To: Drew Adams; +Cc: 'Eli Zaretskii', emacs-devel
"Drew Adams" <drew.adams@oracle.com> writes:
> So did Emacs itself have a `contrib' subdir, decades ago
$ git log --name-only --format=%% | grep contrib/
[nothing]
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: dev-tsdh-* themes
2011-01-08 16:10 ` Andreas Schwab
@ 2011-01-08 17:33 ` Drew Adams
0 siblings, 0 replies; 17+ messages in thread
From: Drew Adams @ 2011-01-08 17:33 UTC (permalink / raw)
To: 'Andreas Schwab'; +Cc: 'Eli Zaretskii', emacs-devel
> > So did Emacs itself have a `contrib' subdir, decades ago
^^^^^
> $ git log --name-only --format=%% | grep contrib/
> [nothing]
I specifically said that it might have been another Emacs from GNU Emacs. Emacs
is not (heresy!) synonymous with GNU Emacs. Emacs has a longer (yes) and richer
(yes) history than what you will find by grepping GNU Emacs logs.
(But thanks to you and `grep' for showing that GNU Emacs has no record of a
`contrib' subdir.)
My point was that it is not only "these days" that a `contrib' subdir is used
"for files contributed by people other than the immediate maintainers". That
practice is nothing new. It has a very long history, including within Emacs.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-08 2:48 ` Glenn Morris
2011-01-08 2:50 ` Glenn Morris
@ 2011-01-08 17:53 ` Chong Yidong
2011-01-08 18:10 ` Glenn Morris
1 sibling, 1 reply; 17+ messages in thread
From: Chong Yidong @ 2011-01-08 17:53 UTC (permalink / raw)
To: Glenn Morris; +Cc: emacs-devel
Glenn Morris <rgm@gnu.org> writes:
> Why do all the names have a "-theme" suffix? They are in a theme/
> directory, isn't that enough?
They can also go in .emacs.d.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-07 10:35 ` Tassilo Horn
2011-01-07 10:51 ` Eli Zaretskii
@ 2011-01-08 17:59 ` Chong Yidong
1 sibling, 0 replies; 17+ messages in thread
From: Chong Yidong @ 2011-01-08 17:59 UTC (permalink / raw)
To: Tassilo Horn; +Cc: Eli Zaretskii, emacs-devel
Tassilo Horn <tassilo@member.fsf.org> writes:
> The idea was to ship some themes by emacs contributors, so I suggested
> to prefix them with "dev-". However, the theme names don't need to
> match the file names, so I'm going to rename them as you suggested.
The theme names ought to match the file names; this is implicitly
assumed in the Custom themes code. I renamed the themes to
tsdh-light/tsdh-dark.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: dev-tsdh-* themes
2011-01-08 17:53 ` Chong Yidong
@ 2011-01-08 18:10 ` Glenn Morris
0 siblings, 0 replies; 17+ messages in thread
From: Glenn Morris @ 2011-01-08 18:10 UTC (permalink / raw)
To: Chong Yidong; +Cc: emacs-devel
Chong Yidong wrote:
> Glenn Morris <rgm@gnu.org> writes:
>
>> Why do all the names have a "-theme" suffix? They are in a theme/
>> directory, isn't that enough?
>
> They can also go in .emacs.d.
They could instead go in ~/.emacs.d/theme/ ...
(This is just petty, I know.)
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2011-01-08 18:10 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-07 9:46 dev-tsdh-* themes Eli Zaretskii
2011-01-07 10:35 ` Tassilo Horn
2011-01-07 10:51 ` Eli Zaretskii
2011-01-08 2:48 ` Glenn Morris
2011-01-08 2:50 ` Glenn Morris
2011-01-08 9:25 ` Chad Brown
2011-01-08 9:44 ` Eli Zaretskii
2011-01-08 12:33 ` Dimitri Fontaine
2011-01-08 9:38 ` Eli Zaretskii
2011-01-08 10:10 ` Philipp Haselwarter
2011-01-08 12:05 ` Eli Zaretskii
2011-01-08 15:37 ` Drew Adams
2011-01-08 16:10 ` Andreas Schwab
2011-01-08 17:33 ` Drew Adams
2011-01-08 17:53 ` Chong Yidong
2011-01-08 18:10 ` Glenn Morris
2011-01-08 17:59 ` Chong Yidong
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.