[Pidgin] elb modified

Pidgin trac at pidgin.im
Thu Jun 18 10:02:10 EDT 2015


Page "elb" was changed by elb
Diff URL: <https://developer.pidgin.im/wiki/elb?action=diff&version=13>
Revision 13
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: elb
=========================================================================
--- elb (version: 12)
+++ elb (version: 13)
@@ -6,9 +6,9 @@
 
 (a.k.a. elb)
 
-Ethan has been working on Pidgin since 2002, and got started by "scratching an itch" related to character encodings.  He is the author of the IRC plugin, the Tcl loader plugin, and still puts a hand in on i18n issues from time to time.  He is currently a Ph.D. student at Purdue University working in the area of Internetworking.
+Ethan has been working on Pidgin since 2002, and got started by "scratching an itch" related to character encodings.  He is the author of the IRC plugin, the Tcl loader plugin, and still puts a hand in on i18n issues from time to time.  He is currently working for [http://fiji-systems.com/ Fiji Systems, a vendor of real-time Java solutions] and [https://interruptsciences.com/ Interrupt Sciences, a computer science consulting firm].
 
-My [http://pidgin.im/~elb/ Pidgin web page] and [http://pidgin.im/~elb/blog/ Pidgin development blog] may be of some interest.
+My [https://kb8ojh.net/elb/ personal web page] and my [https://kb8ojh.net/elb/musings/ blog] may be of interest (particularly the [https://kb8ojh.net/elb/musings/tag/im blog's IM tag]).
 
 Some of my ideas regarding a desire for an end-to-end XMPP crypto plugin can be found at [wiki:EndToEndXMPPCrypto].  Which annoyingly doesn't auto-linkify.
 
@@ -25,3 +25,25 @@
 
 == Open [/report Tickets] assigned to elb: ==
 [[TicketQuery(owner=elb&status=new|assigned|reopened)]]
+
+== Development ==
+
+= elisp for Pidgin development =
+
+Emacs users, here's some elisp I use for Pidgin development:
+
+{{{
+(c-add-style "pidgin" '("k&r"
+			(c-tab-always-indent . t)
+			(c-basic-offset . 8)
+			(indent-tabs-mode . t)))
+
+(defun pidgin-c-mode ()
+  (cond ((posix-string-match "code/pidgin" (buffer-file-name))
+	 (c-set-style "pidgin"))
+        (t (c-set-style "elb"))))
+
+(add-hook 'c-mode-hook 'pidgin-c-mode)
+}}}
+
+This hook can be used to set formatting based on the directory of the current buffer; on my machines, all of my Pidgin development takes place in {{{~/code/pidgin/...}}}, so the {{{buffer-file-name}}} comparison automatically sets Pidgin formatting preferences on those buffers (while leaving the rest of my buffers with my preferred formatting).  In reality I have a number of such comparisons for various projects that I work on.
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://developer.pidgin.im/wiki/elb>
Pidgin <https://pidgin.im>
Pidgin

This is an automated message. Someone added your email address to be
notified of changes on 'elb' page.
If it was not you, please report to datallah at pidgin.im.


More information about the Wikiedit mailing list