Your message dated Tue, 16 Oct 2007 10:20:20 +0530
with message-id <[EMAIL PROTECTED]>
and subject line Bug#367272: FreeTalk should allow users to overwrite system
defaults
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: freetalk
Version: 0.5-2
Currently, freetalk loads a lot of files upon startup. One of
them is beep.scm. However, some users may prefer the client not
to beep upon each and every message. You guessed it, I am among
those.
However,.freetalk/freetalk.scm is loaded before init.scm, the
systemwide init script is evaluated. Due to this, the system
wide settings always overwrite local settings.
Interestingly, init.scm already has a hook for adding local
extensions after the login. It's just not evaluated and the
respective file is not there.
Hence, I've taken the opportunity of writing one, so that the
user can place post-login.scm in their .freetalk directory. If
it exists, the file will be evaluated, and the user is able to
overwrite system-wide defaults, just as one would expect it.
Please consider adding this to the Debian package and maybe
even forwarding it upstream. The patch for init.scm and the
post-login-extensions-here.scm file are attached.
Regards,
Joey
--
Of course, I didn't mean that, which is why I didn't say it.
What I meant to say, I said. -- Thomas Bushnell
Please always Cc to me when replying to me on the lists.
--- init.scm.orig 2006-05-14 21:58:23.000000000 +0200
+++ init.scm 2006-05-14 21:58:32.000000000 +0200
@@ -48,7 +48,7 @@
;; FIXME: login.scm should not be loaded when run in script mode.
; (ft-load "login.scm")
- ; (ft-load "post-login-extensions-here.scm")
+ (ft-load "post-login-extensions-here.scm")
)
(lambda (k args . opts)
(display "\n~qp~ ~qp~ ~qp~ ~qp~ ~qp~ ~qp~")
;;; post-login-extensions-here.scm: load private post-login.scm
;;; author: Joey Schulze <[EMAIL PROTECTED]>
;;; Copyright 2006
;;; This program is free software; you can redistribute it and/or
;;; modify it under the terms of the GNU General Public License as
;;; published by the Free Software Foundation; either version 2, or (at
;;; your option) any later version.
;;;
;;; This program is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;;; General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with this program; if not, write to the Free Software
;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA
(let ((fname (string-append (getenv "HOME") "/" ".freetalk/post-login.scm")))
(if (file-exists? fname)
(ft-load fname)
)
)
--- End Message ---
--- Begin Message ---
On 10/15/07, Martin Schulze <[EMAIL PROTECTED]> wrote:
> > If you feel, that is okay for this bug and can we close it?
>
> Please go ahead.
>
> Regards,
> Joey
Thanks. I am closing this bug.
--
Cheers,
-----------------------------------------------------------
Kartik Mistry || GPG: 0xD1028C8D || IRC: kart_
kartikmistry.org/blog || kartikm.wordpress.com
----------------------------------------------------------
--- End Message ---