Add support to specify github api url #12

diasjorge opened this Issue Aug 24, 2012 · 6 comments


None yet

4 participants


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

mgalgs commented Jan 14, 2013


sigma commented Mar 13, 2013

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 :)

@sigma sigma closed this Mar 13, 2013
mgalgs commented Mar 15, 2013

Works for me!


Would any of you mind posting a gist example on how to do this? or add it to the wiki maybe?

mgalgs commented Mar 15, 2013

M-x customize-group [enter] gh-profile, then click the buttons and stuff :). See also:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment