RDA Treaties (April 2014)

So the instructions for access points for treeaties changed significantly with the April update to Research Description and Access (see the LC Summary of RDA Updates for April 2014 Update of the RDA Toolkit).

To summarize the biggest changes are:

  • Treaties, etc. is no longer the preferred title for treaties. Instead the preferred title is the name of the treaty in an official source, legal literature or other official designation (RDA
  • The signatory doesn’t form part of the authorized access point for both multilateral and bilateral treaties. (RDA
    • NOT: 110 1# Canada. ǂt Treaties, etc. ǂd 1992 October 7
    • NOW: North American Free Trade Agreement ǂd (1992 October 7)
    • NOT: Malaysia. ǂt Treaties, etc. ǂg United States, ǂd 2006 July 28
    • NOW: Treaty Between the United States of America and Malaysia on Mutual Legal Assistance in Criminal Matters ǂd (2006 July 28)
  • Some other things to note include:
    • Source of the name of the treaty is in order to let you name the treaty in a logical manner.
    • Capitalization should follow guidance as mentioned in the RDA Appendix A.18 Names of Documents.
    • Variant access points should be added through the signatories (RDA

So how about an example:

010    no2014066728
040 ## NcD-L ǂb eng ǂe rda ǂc NcD-L
046 ## ǂk 18801117
130 #0 Treaty Between the United States and China, Concerning Immigration
       ǂd (1880 November 17)
377 ## eng
380 ## Treaties ǂ2 lcsh
410 1# United States. ǂt Treaty Between the United States and China,
       Concerning Immigration ǂd (1880 November 17)
410 1# China. ǂt Treaty Between the United States and China, Concerning Immigration
       ǂd (1880 November 17)
430 #0 Treaty Concerning the Immigration of Chinese ǂd (1880 November 17)
430 #0 Angell Treaty ǂd (1880 November 17)
670 ## Treaty, laws, and regulations governing the admission of Chinese, 1906:
       ǂb page 3 (Treaty Between the United States and China, Concerning
       Immigration; Treaty Concerning the Immigration of Chinese; Concluded
       November 17, 1880; ratification advised by Senate May 5, 1881; ratified
       by the President May 9, 1881; ratification exchanged July 19. 1881;
       proclaimed October 56, 1881; 22 Stat. 826)
670 ## United States statutes at large, volume 22 (1864-1883): ǂb page 826
       (Treaty between the United States and China, concerning immigration)
670 ## Office of the Historian, U.S. Department of State, viewed May 13, 2014:
       ǂb content (In 1880, the Hayes Administration appointed U.S. diplomat
       James B. Angell to negotiate a new treaty with China. The resulting
       Angell Treaty permitted the United States to restrict, but not
       completely prohibit, Chinese immigration) 
       ǂu http://history.state.gov/milestones/1866-1898/chinese-immigration

Some things to note:

org-mode ctrl-a & ctrl-e

I had been using a customized ctrl-a and ctrl-e (beginning-of-line and end-of-line) in my Emacs.

(defun smart-beginning-of-line ()
"Move point to first non-whitespace character or beginning-of-line.

If point was already at that position, move point to beginning of line."
(let ((oldpos (point)))
(and (= oldpos (point))

Those of you who are OS X users: are basic Emacs keybindings which out of the box bound in a similar way.

Org-mode has been my note taking, todo list, and everything for a while. But one thing has been that the keybindings haven’t quite been right. Instead of going to the logical beginning of a heading (the text)

* Tasks

Should go to the beginning of the T in Tasks, in Org-mode the cursor would jump to the systematic beginning of the line. Uhuh, that makes sense but it isn’t what my brain _really_ wants.

Thus the amaziness of org and having a setting for everything


Which smartly moves the cursor to where it should belong.

Thus the doctoring speaketh:

org-special-ctrl-a/e is a variable defined in `org.el'.
Its value is t
Original value was nil

Non-nil means `C-a' and `C-e' behave specially in headlines and items.

When t, `C-a' will bring back the cursor to the beginning of the
headline text, i.e. after the stars and after a possible TODO
keyword. In an item, this will be the position after bullet and
check-box, if any. When the cursor is already at that position,
another `C-a' will bring it to the beginning of the line.

`C-e' will jump to the end of the headline, ignoring the presence
of tags in the headline. A second `C-e' will then jump to the
true end of the line, after any tags. This also means that, when
this variable is non-nil, `C-e' also will never jump beyond the
end of the heading of a folded section, i.e. not after the

When set to the symbol `reversed', the first `C-a' or `C-e' works
normally, going to the true line boundary first. Only a directly
following, identical keypress will bring the cursor to the
special positions.

This may also be a cons cell where the behavior for `C-a' and
`C-e' is set separately.

You can customize this variable.


Gotcha: sRGB, Emacs 24, themes

I’ve been working with the Solarized color theme in my Emacs for a while. The homebrew recipe for Emacs has an option to pull in a patch which corrects the Cocoa port for Emacs to handle srgb colors correctly. But for the longest time I couldn’t get the colors to exactly line up to the references.

But I finally figured out that the theme was expecting a variable to be set:

(setq solarized-broken-srgb nil)

From the customize information:

Emacs bug #8402 results in incorrect color handling on Macs. If this is t (the default on Macs), Solarized works around it with alternative colors. However, these colors are not totally portable, so you may be able to edit the “Gen RGB” column in solarized-definitions.el to improve them further.

The gotcha is that if you set this through customize, generally the default custom.el loads after init.el with a lightly managed Emacs. So if you thought you were setting the variable in customize and it would work, you are wrong, since normally themes are loaded through your init.el, either through a separate library or directly in mine.

So for me to load solarized with correct srbg support:

(setq solarized-broken-srgb nil)
(load-theme 'solarized-dark t)

Installing Jekyll on OSX 10.9

Installing Jekyll

Recipe for installing RVM + Latest Stable Ruby + Jekyll on OS X 10.9. This is mostly so I can experiment with using GitHub pages to publish web sites. Loosely following instructions from GitHub how to set Jekyll up.

Install RVM + Latest Stable Ruby

RVM isn’t provided as a formula in homebrew/homebrew since RVM installs on a per user basis and it does some other non homebrew’y stuff. Depending on RVMs autolibs feature to install all its dependencies automatically using homebrew.

$ \curl -sSL https://get.rvm.io | bash -s stable --ruby=

RVM will run and your shell should be set up to use the new Ruby.

Other options include using the system ruby as the default: and then invoking rvm to call the relevant ruby we want.

$ rvm --default use system
Now using system ruby.
Now using system ruby.
Warning! Executable 'ruby' missing, something went wrong with this ruby installation!
Warning! Executable 'gem' missing, something went wrong with this ruby installation!
Warning! Executable 'irb' missing, something went wrong with this ruby installation!
$ ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
$ which ruby

In that case I go back to the new installed ruby to isolate it from the system environment:

$ rvm use 2.1.0

Install Jeyll with RubyGems

Bundler is installed automatically by RVM, so dependencies should be installed!

$ gem install jekyll

It Lives

$ jekyll new newProject
New jekyll site installed in /Users/gugek/Desktop/newProject.
$ cd newProject/
$ jekyll serve
Configuration file: /Users/gugek/Desktop/newProject/_config.yml
            Source: /Users/gugek/Desktop/newProject
       Destination: /Users/gugek/Desktop/newProject/_site
      Generating... done.
    Server address:
  Server running... press ctrl-c to stop.


org-mode agenda

I’ve been using emacs’ org-mode to handle project and task tracking. There are a number of views in the agenda mode that weren’t clear to me what they did until I had to go back and see everything I’ve been doing for the last year:

‘a’ Agenda for current week or day

Week view of your (active) TODOs. With some options you can see archived and hiddent events and TODOs. The default brings in any TODO that has an active timestamp or is scheduled. After you bring it up you can then change the view to include everything from the last month, year, or arbitrary date. This is the view you need if you want to see completed tasks in an archive; using the ‘Log-All’ function when you have the view up along with adding the archive option if you are using an archive file.

‘L’ timeline

Timeline view of all date tagged items in the current org-mode buffer. Strangely, this view doesn’t respond to any of the agenda options, except for viewing things in logged format. You’d think it could give you an overview but it doesn’t.

‘t’ List of all TODOs

This is the list of active TODOs. A tasklist, which is configurable with a number of options to sort and surface the particular ones to the top.




Authorized Access Points

I’ve been using RDA for original cataloging since October 2012 at MPOW. With authority records things have been great. There is a lot more flexibility to add and not add things. One hangup is the transition period where records need to be evaluated. Some weirdnesses I’ve encountered have been titles of nobility see: 100 1# Vitzthum, Wolfgang, $c Graf.

Other issues include media types for streaming media. Actually digital files in general are handled poorly. Everything needs a carrier. What exactly is the carrier for a file that is sitting on filesystem in the cloud?

338 ## other $2 rdacarrier

or perhaps if it is published:

338 ## online resource $2 rdacarrier

The file characteristics get handled elsewhere; not a terribly horrible thing, but not exactly intuitive.

More thoughts later.