I'd be very good if we could specify the url for the github api. Where I work we use github enterprise and I'd like to have a variable where I could set the url, this way I could set in my .dir-locals file a different value for my work projects.
I tried to make the gh-api-v3 class to take the value for a variable but it didn't work, and this eieio module and the way of working feels too alien for me to tackle :(
I'm in a similar situation; it would be handy for me to specify a list of github servers; sometimes I need to gist something privately, and sometimes it can go on github.com.
this should now be supported, see gh-profile.el, and its gh-profile-alist custom option.
The global strategy is to dynamically bind `gh-profile-current-profile' around calls to api object constructors
gist.el support has been added as well.
Hope it doesn't work just for me :)
Works for me!
Would any of you mind posting a gist example on how to do this? or add it to the wiki maybe?
M-x customize-group [enter] gh-profile, then click the buttons and stuff :). See also: http://www.gnu.org/software/emacs/manual/html_node/emacs/Easy-Customization.html
M-x customize-group [enter] gh-profile