From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: org-icons package Date: Thu, 18 Aug 2011 13:48:22 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6460470c7c4e004aacdbb39 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qu9Vr-0005My-5c for emacs-orgmode@gnu.org; Thu, 18 Aug 2011 16:48:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qu9Vp-0003Ag-12 for emacs-orgmode@gnu.org; Thu, 18 Aug 2011 16:48:27 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:33148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qu9Vo-0003AV-RA for emacs-orgmode@gnu.org; Thu, 18 Aug 2011 16:48:24 -0400 Received: by vwm42 with SMTP id 42so2247171vwm.0 for ; Thu, 18 Aug 2011 13:48:24 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: swangdoodles@gmail.com Cc: nicolas.girard@nerim.net, emacs-orgmode@gnu.org --0016e6460470c7c4e004aacdbb39 Content-Type: text/plain; charset=ISO-8859-1 Hi Renzo, org-icons needs to be moved into contrib/, hooked in via a lightweight patch against org.el, instead of being implemented as a monolithic change to org.el. I made a start on that in this branch: https://github.com/dandavison/org-devel/tree/org-icons but I'm not sure that I got very far. Note that that is a branch in a clone of the org repo, as opposed to the org-icons repos which are standalone repos and do not contain org. I thought org-icons was interesting because it offers the possibility of allowing users to make arbitrary superficial changes to org aesthetics. For example, the #+begin_src...#+end_src boilerplate is rather heavy for some peoples' tastes. At one point I had it replacing that with a little (ruby, snake) for (ruby, python) code... But I think it also allows the possibility of overlaying with text. I'd be happy to give you push access to that repo, but, you may as well just fork it as I have no plans to work on it. I don't know how to contact Nicolas. I believe that he is on record as saying he did not plan to develop org-icons further. Good luck, Dan On Thu, Aug 18, 2011 at 1:13 PM, Renzo Been wrote: > Hi Dan, Nicolas and list, > > In my previous mail I wrote about using (and upgrading it for use with the > latest version of org-mode) Nicolas Girard's org-icons package, see: > http://news.gmane.org/find-root.php?group=gmane.emacs.orgmode&article=44834 > > I've tried to contact Nicolas Girard (via e-mail and a google search). But > I > have not heard back from him as yet. > > When I checked the github for org-icons again I discovered that there was a > second branch by Dan Davison. > https://github.com/ngirard/org-icons/tree/dan > > Dan, > > Do you know how I can get in contact with Nicolas? Or do you have access to > the github for org-icons, so that it's code can be updated to work with the > latest version of org-mode? Did you and Nicolas ever think about including > org-icons into org-mode? > > As for me, I'm happily using org-icons with org-mode 7.7, I've attached a > new > and updated patch file that works on the latest org.el > > Copy the patch "org-icons.patch" to the directory where you keep your > "org.el" > cd to that directory > And then apply the patch like this: > patch -b org.el org-icons.patch > > Of-course, if neither of you has the time to work on org-icons... I could > make > a fork of the git repo, and make the changes myself. However, I do not have > much elisp knowledge... > > Ciao, > Renzo > > On 25 July 2011 12:12, Renzo Been wrote: > > Bastien altern.org> writes: > > >> Hi Philipp, > > >> Philipp Haselwarter gmx.de> writes: > > >> > Is there any particular reason for it to be hardcoded? Apart from the > >> > fact that /well it just is this way right now/ I mean. > > >> Nothing carved in stone, but here are the two reasons I see: > > >> - we don't want users to use arbitrary regexp to match headlines as they > >> are very likely to shoot themselves in the foot (Harven's example of > >> using "-" instead of "*" is a good example of that.) > > >> - Given this, I am not able to imagine a good way of limiting the number > >> of allowed characters. > > >> > That'd be useful information for anyone interested in changing it. > > >> I'd interested in any solution to the problems above. > > >> > Then > >> > you can still just tell them to write a patch if they care that much > >> > ('cause even in org-mode-land patches don't write themselves just yet) > > >> :) > > >> > [I just had the most awesome idea for a feature request]. > > >> Please share! > > >> > If it's "just" about inheriting from a variable in some 300 places it > >> > could at least be discussed. > > >> Yep -- if you have the energy to go through the code and see where it is > >> hardcoded while it should not, please do. > > >> Thanks, > > > Hi, > > > I was just thinking... If you want to change the "look" of the > > org-headlines. Does one really need to change the code? > > > I have been using Nicolas Girard's org-icons package for quite a while. > And > > that makes org-buffers look pretty nice. You can even customise the > icons, to > > make it look the way you want. > > > However, some things about the org-icons package... It seems to be a > little > > outdated. Are there many org-moders out there still using it? Were > there > > ever any plans to include it in the org-distribution? Right now it needs > to be > > installed by hand, because the patch to org.el is outdated... Also, I > need to > > load it two times in my .emacs before the icons work... > > > Ciao, > > Renzo > > > The org-icons can be found here: > > Download from Nicolas Girard's github > > http://github.com/ngirard/org-icons > > On the Worg site I could only find screenshots, no other information... > > http://orgmode.org/worg/org-screenshots.html > > The list-message announcement for org-icons > > > http://news.gmane.org/find-root.php?message_id=%3c87zl2962um.fsf%40stats.ox.ac.uk%3e > > And some list-messages discussing including the org-icons-patch into > org-mode > > > http://news.gmane.org/find-root.php?message_id=%3c87zlbx3kvf.fsf%40kassiopeya.MSHEIMNETZ%3e > --0016e6460470c7c4e004aacdbb39 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Renzo,

org-icons needs to be moved into contrib/, hoo= ked in via a lightweight patch against org.el, instead of being implemented= as a monolithic change to org.el. I made a start on that in this branch:

https://github.com/dandavison/org-devel/tree/org-icons

but I'm not sure that I got very far. Note that th= at is a branch in a clone of the org repo, as opposed to the org-icons repo= s which are standalone repos and do not contain org.

I thought org-icons was interesting because it offers t= he possibility of allowing users to make arbitrary superficial changes to o= rg aesthetics. For example, the #+begin_src...#+end_src boilerplate is rath= er heavy for some peoples' tastes. At one point I had it replacing that= with a little (ruby, snake) for (ruby, python) code... But I think it also= allows the possibility of overlaying with text.=A0I'd be happy to give= you push access to that repo, but, you may as well just fork it as I have = no plans to work on it.

I don't know how to contact Nicolas. I believe that= he is on record as saying he did not plan to develop org-icons further.

Good luck,

Dan

On Thu, Aug 18, 2011 at 1:13 PM, Renzo Been = <swangdoodle= s@gmail.com> wrote:
Hi Dan, Nicolas and list,

In my previous mail I wrote about using (and upgrading it for use with the<= br> latest version of org-mode) Nicolas Girard's org-icons package, see: http://news.gmane.org/find-root.php?= group=3Dgmane.emacs.orgmode&article=3D44834

I've tried to contact Nicolas Girard (via e-mail and a google search). = But I
have not heard back from him as yet.

When I checked the github for org-icons again I discovered that there was a=
second branch by Dan Davison.
https://github.com/ngirard/org-icons/tree/dan

Dan,

Do you know how I can get in contact with Nicolas? Or do you have access to=
the github for org-icons, so that it's code can be updated to work with= the
latest version of org-mode? Did you and Nicolas ever think about including<= br> org-icons into org-mode?

As for me, I'm happily using org-icons with org-mode 7.7, I've atta= ched a new
and updated patch file that works on the latest org.el

Copy the patch "org-icons.patch" to the directory where you keep = your "org.el"
cd to that directory
And then apply the patch like this:
patch -b org.el org-icons.patch

Of-course, if neither of you has the time to work on org-icons... I could m= ake
a fork of the git repo, and make the changes myself. However, I do not have=
much elisp knowledge...

Ciao,
Renzo

On 25 July 2011 12:12, Renzo Been <swangdoodles@gmail.com> wrote:
> Bastien <bzg <at> altern.org> writes:

>> Hi Philipp,

>> Philipp Haselwarter <philipp.haselwarter <at> gmx.de> writes:

>> > Is there any particular reason for it to be hardcoded? Apart = from the
>> > fact that /well it just is this way right now/ I mean.

>> Nothing carved in stone, but here are the two reasons I see:

>> - we don't want users to use arbitrary regexp to match headlin= es as they
>> =A0 are very likely to shoot themselves in the foot (Harven's = example of
>> =A0 using "-" instead of "*" is a good example= of that.)

>> - Given this, I am not able to imagine a good way of limiting the = number
>> =A0 of allowed characters.

>> > That'd be useful information for anyone interested in cha= nging it.

>> I'd interested in any solution to the problems above.

>> > Then
>> > you can still just tell them to write a patch if they care th= at much
>> > ('cause even in org-mode-land patches don't write the= mselves just yet)

>> :)

>> > [I just had the most awesome idea for a feature request].

>> Please share!

>> > If it's "just" about inheriting from a variable= in some 300 places it
>> > could at least be discussed.

>> Yep -- if you have the energy to go through the code and see where= it is
>> hardcoded while it should not, please do.

>> Thanks,

> Hi,

> I was just thinking... If you want to change the "look" of t= he
> org-headlines. Does one really need to change the code?

> I have been using Nicolas Girard's org-icons package for quite a w= hile. And
> that makes org-buffers look pretty nice. You can even customise the ic= ons, to
> make it look the way you want.

> However, some things about the org-icons package... It seems to be a l= ittle
> outdated. =A0Are there many org-moders out there still using it? =A0We= re there
> ever any plans to include it in the org-distribution? Right now it nee= ds to be
> installed by hand, because the patch to org.el is outdated... =A0Also,= I need to
> load it two times in my .emacs before the icons work...

> Ciao,
> Renzo

> The org-icons can be found here:
> Download from Nicolas Girard's github
> http= ://github.com/ngirard/org-icons
> On the Worg site I could only find screenshots, no other information..= .
> http://orgmode.org/worg/org-screenshots.html
> The list-message announcement for org-icons
> http://news.gmane.org/find-r= oot.php?message_id=3D%3c87zl2962um.fsf%40stats.ox.ac.uk%3e
> And some list-messages discussing including the org-icons-patch into o= rg-mode
> http://news.gmane.org= /find-root.php?message_id=3D%3c87zlbx3kvf.fsf%40kassiopeya.MSHEIMNETZ%3e

--0016e6460470c7c4e004aacdbb39--