identica-mode-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Identica-mode-devel] [RFC PATCH 0/4] Add indirection layer to allow mul


From: identica-mode-devel
Subject: [Identica-mode-devel] [RFC PATCH 0/4] Add indirection layer to allow multiple accounts to be handled simultaneously.
Date: Sun, 22 Jan 2012 16:33:33 -0600

>From a6eb0ae33748f95855e9bd6b06a12f8402aa6073 Mon Sep 17 00:00:00 2001

Hi all,

I know the usual development method is "just stick it in devel", but this one
is a pretty intrusive set of changes, so I wanted to run it by people, and
perhaps get some feedback.  The goal is to handle multiple accounts within one
instance of identica-mode, and in the future perhaps even allow merged
timelines from multiple servers.  All of this avoids interfering with the way
identica-mode is used now, so you should see no difference if you use one
account.

The first two patches define and populate the structs that will hold account
information, and the third patch does the dirty work of changing references to
the defcustom account variables to references to the new structs.

The first account populates itself from the existing defcustom account
variables, so no one will have to change their .emacs files, but any additional
accounts will have to either be created manually using make-statusnet-account
or a helper function. I don't think a helper is necessary, but am willing to
add one.

Future additions:
 Documentation for setting up multiple accounts.
 Add a similar structure for buffers,
   allowing multiple timeline buffers to be open simultaneously.
 Add more interface functions/keybindings for manipulating accounts/buffers.

identica-mode.el |  233 ++++++++++++++++++++++++++++++++++++-----------------
1 files changed, 158 insertions(+), 75 deletions(-)

Kevin Granade (4):
  Define structures to encapsulate a statusnet account and (optionally)
    the associated OAuth data.
  Automatically create a statusnet account based on the previously
    existing account variables, and add it to the accounts list.
  Switch to using list of account objects throughout code instead of
    using configuration variables directly.
  Add function to switch between accounts.

-- 
1.7.6.4

Message-ID: <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]