bugRiece - Bugs: bug #27384, Setting some variables in startup...

 
 

bug #27384: Setting some variables in startup file takes no effect in 6.0.0

Submitted by:  None
Submitted on:  Fri 04 Sep 2009 08:05:27 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Daiki Ueno <ueno>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 10 Sep 2009 11:03:50 AM UTC, comment #1:

Yes, you are right. I just reverted the auto-save-setting mechanism to the one of version 4, since I realized that using the Customize interface here does not make any sense.

Thanks for the precise analysis.

Daiki Ueno <ueno>
Project AdministratorIn charge of this item.
Fri 04 Sep 2009 08:05:27 PM UTC, original submission:

I have following settings in my ~/.riece/init.

(setq riece-server-alist (list
'("server1"
:host "server1.example.com"
:service 6667
:nickname "nick1"
:password "Password1")
'("server2"
:host "server2.example.net"
:service 6668
:nickname "nick2"
:password "Password2")
'("server3"
:host "server3.example.org"
:service 6669
:nickname "nick3"
:password "Password3")
))
(setq riece-server "server1")

Until 5.0.0 Riece worked as is expected (or explained in Info manual). But Riece 6.0.0 works as if these settings do not exist. I checked source code and found change of riece-read-variables-files function causes this issue.

Until 5.0.0 the function simply loads files in the order defined in riece-variables-files. In 6.0.0, it loads files as it did previously, and then custom-reevaluate-setting is called for each variable defined in riece-saved-forms. So even if some variables included in riece-saved-forms are set to non-default value in ~/.riece/init, they are reset after custom-reevaluate-setting is called. And result is it looks as if settings such as above examples have no effect.

I don't know why riece-read-variables-files function is changed. So it seems solution is simply rolling it back to the one of 5.0.0.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ueno (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 10 Sep 2009 11:03:50 AM UTCuenoStatusNone=>Fixed
      Assigned toNone=>ueno
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1